question show in the photo, don’t mind the answer in the text box

From the problem, we have the formula :
[tex]T=2\pi rh+2\pi r^2[/tex]Solving for h in terms of T and r will be :
[tex]\begin{gathered} T=2\pi rh+2\pi r^2 \\ T-2\pi r^2=2\pi rh \\ \frac{T-2\pi r^2}{2\pi r}=h \\ \frac{T}{2\pi r}-r=h \end{gathered}[/tex]The answer is :
[tex]h=\frac{T}{2\pi r}-r[/tex]