If the median of the distribution is given below is 28.5, find the values of x and y.
Class interval
Frequency
0 − 10
5
10 − 20
x
20 − 30
20
30 − 40
15
40 − 50
y
50 − 60
Total
60