If the area of the rectangle below is 39 square feet, find the value of x. Just type the number

height= x-2
width = x+8

5