Solve the problem by entering and solving an equation.
A rectangular picture frame has a perimeter of 52 inches. The height of the frame is 18 inches. What is the width of the frame?