Step-by-step explanation:
Let the width of the rectangle be x units
Length of the rectangle = x+3 units
Area of the rectangle= 40 sq. units
x(x+3)=40
x²+3x-40= 0
x²+8x-5x-40=0
x(x+8)-5(x+8)=0
(x+8)(x-5)=0
x= -8 or, x= 5
Length or width can never be negative
Therefore,x= 5units
Width =5 units
Length=5+3=8 units