From the question it is given that the length of the rectangle is 4 less than the three time of the width.

Here, 'l' represnts the length and 'w' represents the width.
The area of the rectangle is,

Substitute expression 'l=3w-4' in the above equation.

Thus, the correct option is option D.