If the median is 10 and the range is 12, it means that the number x cannot be smaller than 5 or 10. If it were the median would be 5. if the range is 12 and x is greater 10, it means that the number x is greater than 15 as the range is greater than the difference between 15 and 5.
As such
x - 5 = 12
add 5 to both sides
x = 12 + 5
x = 17
The mean is the total of the data set divided by the number that makes the data set. Let the mean be t
You can buy 50 of the cherry candies with all of the 25$ because you do 25 divided by 0.50 and get 50 and then if you would like to check that do 50 x 0.50 and you will still get 25$