TeX source:
\mathrm{A}(\mathrm{x})=\text { area of a rectangle }=(\text { base }) \cdot(\text { height })=(x-1) \cdot(2)=2 x-2