A rectangle has a width of 3 inches and a length of x inches. The value of the perimeter of the rectangle is equal to the value of the area of the rectangle. Graph a system of linear equations to find x.