The data set is 15, 20, 25, x, 30, and the mean of the data is 20. Find x.
Using a formula, $$
\text{Mean} = \frac{x_1 + x_2 + x_3 + \dots + x_n}{n}
$$
Here,
Putting all values, $$
\text{Mean} = \frac{15 + 20 + 25 + x + 30}{5} = 20
$$
$$
x= 10
$$
Therefore, the value of x that makes the mean 20 is 10.