It is important to know that the perimeter of a rectangle is defined by the following formula.
[tex]P=2(w+l)[/tex]According to the problem, the length is 2 units greater than its width.
[tex]l=w+2[/tex]Let's replace the length with its equivalent expression.
[tex]\begin{gathered} P=2(w+w+2) \\ P=2(2w+2) \\ P=4w+4 \end{gathered}[/tex]