I need to understand this better so Can I please get a step by step explanation? i will give brainiest

Answer:
Step-by-step explanation:
The sides r, 10 and 20 are parallel to each other as all three are perpendicular to same line.
The triangles are similar as two sides are on same lines and another one is parallel as described above.
Work out the value of r using ratios of corresponding sides:
Now, find the distance x from the bottom of the cone to the base of the smallest ball, using same method as above: