The perimeter of a rectangle 52 inches. The rectangle has a length of 6x+2 inches and a width of 3x-3 inches. What is the measure in inches of the width of the rectangle?​