The frequency distribution table for the class is:
| Class Boundaries | Frequency | Cumulative Frequency (less than type) |
| 0-10 | 5 | 5 |
| 10-20 | \(x\) | 5+\(x\) |
| 20-30 | 20 | 25+\(x\) |
| 30-40 | 15 | 40+\(x\) |
| 40-50 | \(y\) | 40+\(x+y\) |
| 50-60 | 5 | 45+\(x+y=n\) |
Given \( n = 60 \),
By condition, \( 45 + x + y = 60 \)
or, \( x + y = 15 ----(i) \)
Also, since the median is \( 28.5 \),
The median class is \( (20-30) \).
The median formula:
\[
= l + \left[\cfrac{\cfrac{n}{2}-cf}{f}\right]Ãh
\]
where,
\( l = 20, n = 60, \)
\( cf = 5 + x, f = 20, h = 10 \)
\[
= 20 + \left[\cfrac{30-(5+x)}{20}\right]Ã10
\]
\[
= 20 + \cfrac{25-x}{20}Ã10
\]
\[
= 20 + \cfrac{25-x}{2}
\]
By condition:
\[
20+ \cfrac{25-x}{2} = 28.5
\]
\[
\cfrac{25-x}{2} = 8.5
\]
\[
25 - x = 17
\]
\[
-x = -8
\]
\[
x = 8
\]
Substituting \( x \) in equation (i):
\[
8 + y = 15
\]
\[
y = 7
\]
Thus, the required values:
\( x = 8, y = 7 \).