\[\boxed{\mathbf{4.130}}\]
\[\textbf{а)}\ S = 2 \cdot (8 \cdot 7 + 8 \cdot h + 7 \cdot h) =\]
\[= 2 \cdot (56 + 15h) = 112 + 30\text{h.}\]
\[\textbf{б)}\ S = 2 \cdot (13m + 13h + mh) =\]
\(= 26m + 26h + 2mh.\)
\[\textbf{в)}\ S = 2nm + 2nh + 2mh.\]
\[\textbf{г)}\ S = 2 \cdot (nm + nm + m \cdot m) =\]
\[= 2 \cdot \left( 2nm + m^{2} \right) = 4nm + 2m^{2}.\]
\[\textbf{д)}\ S = 6n^{2}.\]