A-carpenter-wants-to-construct-a-simple-cabin-with-a-pitched-roof-A-frame-cabin-next-to-the-wall-must-be-8-ft-high-homework-help-

A carpenter wants to construct a simple cabin with a pitched roof.  The inside height of this “A-frame” cabin next to the wall must be 8 feet high.  The owner wants the inside height of the roof in the middle of the room (at the tallest point) to be 12 feet high.  The owner wants the slope of the roof to be 1/3 (for every 3 ft you travel horizontally towards the middle of the roof, you go up 1 ft vertically) .  How wide then must the cabin be?