T.J. Is wallpapering his bedroom. The room has 8 ft. high ceilings and is 12 1/2 ft. long. If the perimeter of the room is 48 1/2 ft., what is the width of the room?