Check the picture below.
so the composite is really a trapezoid and two triangles, let's get their area and sum them all up.
[tex]\textit{area of a trapezoid}\\\\ A=\cfrac{h(a+b)}{2}~~ \begin{cases} h~~=height\\ a,b=\stackrel{parallel~sides}{bases~\hfill }\\[-0.5em] \hrulefill\\ a = 2\\ b = 5\\ h = 7 \end{cases}\implies A=\cfrac{7(2+5)}{2} \\\\[-0.35em] ~\dotfill[/tex]
[tex]\stackrel{\textit{\LARGE Areas}}{\stackrel{yellow~trapezoid}{\cfrac{7(2+5)}{2}}~~ + ~~\stackrel{blue~triangle}{\cfrac{1}{2}(\stackrel{b}{3})(\stackrel{h}{5})}~~ + ~~\stackrel{orange~triangle}{\cfrac{1}{2}(\stackrel{b}{10})(\stackrel{h}{2})}} \\\\\\ 24.5~~ + ~~7.5~~ + ~~10\implies \text{\LARGE 42}[/tex]