The arithmetic mean, or average, means to add up each of your values and divide by the number of values.
You'll take 2 - $16,000, 3 - $17,000, and 5 - $18,000 and get a total. Then divide that total by 10, the number of salaries you are given.
$16,000 + $16,000 + $17,000 + $17,000 + $17,000 + $18,000 +$18,000 +$18,000 +$18,000 +$18,000 = $173,000. Divided by 10 = $17,300.
In other words, teachers don't make enough money!