Solve the problem by entering and solving an equation.

A rectangular picture frame has a perimeter of 58 inches. The height of the frame is 12 inches. What is the width of the frame