please help!!! I am so confused

The exercise is asking you to compute the volume of five different spheres and cylinders, choosing 5 different random values.
Remember the formulas for the volumes: given a radius [tex] r [/tex], the volume of the sphere is
[tex] \dfrac{4}{3}\pi r^3 [/tex]
Whereas the volume of the cylinder is
[tex] \pi h r^2[/tex]
In this specific case, you're told that the height of the cylinder is the same as the diameter of the sphere (i.e. twice the radius). So, the formula of the cylinder updates to
[tex] \pi (2r) r^2 = 2\pi r^3 [/tex]
So, all you need to do is to pick 5 random numbers, use them as the radius [tex] r [/tex], and for each of them compute the volume and cylinder sphere as indicated above.
For example, if you choose a radius [tex] r=5 [/tex], you will have
[tex] \text{Sphere: } V = \dfrac{4}{3}\pi 5^3 = \dfrac{500\pi}{3} [/tex]
[tex] \text{Cylinder: } V = 2\pi 5^3 = 250\pi [/tex]
Now choose your 5 random values and do the same!