Can someone please explain how to do this

Answer:
C
Step-by-step explanation:
The shape consists of a cylinder and a hemisphere.
The volume of a cylinder is:
V = πr²h
where r is the radius (half the diameter) and h is the height.
The volume of a hemisphere is:
V = ⅔ πr³
where r is the radius (half the diameter).
The cylinder and hemisphere both have a diameter of 8 cm, or a radius of 4 cm. The cylinder has a height of 17 cm.
So the total volume is:
V = π(4 cm)²(17 cm) + ⅔ π(4 cm)³
V = π (272 + 128/3) cm³
V ≈ 988.6 cm³