Area of rectangle=2Length+2Width

Suppose Lenght=L

then Width=L-4

Put the values in the above equation

Area=2(L+W)

5=2(L+(L-4))

5=2(2L-4)

5=4L-8

4L=13

L=13/4

L=3.25

So Length=3.25

Width=L-4

Width=3.25-4

Width=-0.75

Suppose Lenght=L

then Width=L-4

Put the values in the above equation

Area=2(L+W)

5=2(L+(L-4))

5=2(2L-4)

5=4L-8

4L=13

L=13/4

L=3.25

So Length=3.25

Width=L-4

Width=3.25-4

Width=-0.75