Note that the fomula for the area of a triangle is base x height divided by 2 :
[tex]A=\frac{bh}{2}[/tex]The base is equal to 2x - 4
and
the height is equal to 2x - 4 also
So the area of the triangle will be :
[tex]A=\frac{(2x-4)(2x-4)}{2}[/tex]Multiplying the numerator using multiplication of two binomial terms :
1st step : Multiply the first