Note that the fomula for the area of a triangle is base x height divided by 2 :

The base is equal to 2x - 4
and
the height is equal to 2x - 4 also
So the area of the triangle will be :

Multiplying the numerator using multiplication of two binomial terms :
1st step : Multiply the first