Our first step will be to extend the cup to look like a cone and label everything as shown in the diagram.
Now, we can compute the value of y quickly via similar triangles (the big triangle and the one with side length 3),
and this gives y = 20cm. However, notice in the question that there are several different units everywhere and so for consistency we should use a single unit (metres). As shown, let be a sample point between 0 and 0.2 (0 to 20cm), measured from the top of the cup. Then, at this point, the radius, labeled as is
and isolating gives
Now, using the volume of a cylinder formula, we have
Using the mass formula with as density, we have
Using the force formula, we have
and finally, using the work formula, we can compute that the work done at the sample point is
where we added 0.1m (10cm) to the distance d above since we are using a straw that is 10 cm above the cup. Hence, summing all these pieces gives
completing the question (we do not need to evaluate this integral).