To find the mean of a frequency distribution, divide the sum of the products of values and their frequencies by the total frequency. The total frequency is 2 + 3 + 7 + 8 = 20, and the sum of the products is (10 times 2) + (12 times 3) + (15 times 7) + (25 times 8) = 361. Dividing 361 by 20 gives a mean of 18.05.