positive integer, so this doesn’t work. Try a new median. If x = 4, then the set is {2, 3, 4 (x),
5, 7), with a median of 4. However, the mean is = 5.25, not 4, so this
doesn’t work. If x is 6 or greater, the set would either be {2, 3, 5, 6 (x), 7} or {2, 3, 5, 7,
x}. In either case, the median is 5. Set up the average equal to the median of 5:
= 5. Multiply both sides by 5 and combine like terms: 17 + x = 25.
Subtract 17 from both sides, and you find that x = 8.