Solve for the following. Type your answer using digits. A rectangle with a length ofx−4 and a width of 8 has a perimeter of 34. The value of x is .