TeX source:
\begin{array}{ll} c^{2}=a^{2}-b^{2} & \\ 25=64-b^{2} & \text { Substitute for } c^{2} \text { and } a^{2} \\ b^{2}=39 & \text { Solve for } b^{2} \end{array}