as You can see by the drawing, the cup is turned upside down and extended
to a cone. The height, radius and sides of the cones form two right triangles which are similar.
This means that the sides are proportional so we set up the equation:
(x+10)/6 = x/4 which, when solved, gives x = 20. So the height of the
small triangle is 20 and the height of the larger triangle is 20+10 or 30.
The cup that you want to determine the volume of is the difference of the volume of the large cone and the volume of the small cone. That has been computed below. Enjoy!

