Answer:
First, develop an equation for this scenario. The formula to find the perimeter of a quadrilateral is 2l+2w. Because the length is 4 less than twice the width, this would be translated to (2w-4). Plug this into the variable for the length to get 2(2w-4)+2w=40. Distribute the 2 to get 4w-8+2w=40. Add the like terms to get 6w-8=40. Add 8 to both sides and get 6w=48. Divide 6 to result with w=8.
Now that we know w, we can substitute 8 into the variable to solve for the length. 2l+2(8)=40. Multiply 8 and 2 to get 2l+16=40. Subtract 16 to both sides to get 2l=24. Divide 2 to both sides to result with l=12.
Length = 12 feet
Width = 8 feet