answer:
median: 29
arrange the data in ascending order, and the median is the value in the middle. If there are an even number of values, the median would be the product of the two middle numbers. (12, 17, 29, 29, 40)
mean: 25.4
the mean of a set of numbers is the sum divided by the number of terms.
12 + 17 + 29 + 29 + 40 = 127 / 5 = 25.4
hope this helped!