a rectangle is 5 inches long and 2x inches wide. the value of the perimeter (in inches) is equal to the value of the area (in square inches). find x