Help me with this will mark brainliest if no links are provided. Problem is in the photo provided(NO LINKS OR NO POiNTS WILL BE GIVEN)

Simplify the equation for h.
[tex]\begin{gathered} S=2\pi rh+\pi(r)^2 \\ S-\pi(r)^2=2\pi rh \\ h=\frac{S-\pi(r)^2}{2\pi r} \end{gathered}[/tex]So option D is correct.