The width of a rectangle is the length minus 3 units. The area of the rectangle is 40 units. What is the width, in units, of the rectangle?