TeX source:
\mathrm{A}=\frac{1}{2}(2)(1)=1 \text { and } \mathrm{B}=\frac{1}{2}(4)(2)=4