Given that the diameter of the semicircle (top) is
\(3.5\,\text{m}\) and the height (length) is
\(7\,\text{m}\text{.}\)
The radius of the semicircular ends is
\begin{align*}
r\amp=\frac{d}{2} \\
\amp=\frac{3.5}{2} \\
\amp=1.75\,\text{m}
\end{align*}
The painted part is a half-cylinder: its curved surface is half the curved surface of a full cylinder and the two ends are two semicircles (which together make one full circle).
\begin{align*}
\text{Painted area}\amp=\pi r h + \; 2\times\left(\tfrac{1}{2}\pi r^2\right) \\
\amp=\pi r h + \pi r^2\\
\amp=\pi r(r+h)
\end{align*}
Substituting
\(\pi=3.14\text{,}\) \(r=1.75\,\text{m}\) and
\(h=7\,\text{m}\) gives
\begin{align*}
\text{Painted area}\amp=3.14\times1.75\times(1.75+7)\\
\amp=3.14\times1.75\times8.75\\
\amp=48.08125\,\text{m}^2
\end{align*}
To two decimal places, the painted area is
\(48.08\,\text{m}^2\text{.}\)