How do I create an 'L' shaped structure with three full gable ends automatically?

A reverse gable, sometimes called an opposing gable, is perpendicular to the main gable roof. A reverse gable can join the main roof anywhere along the main roof. In this example, it joins the main roof at one end.
.
, and draw the walls for your L-shaped structure in a clockwise fashion.
tool, select the wall, then click and drag its end out to extend the wall through the bump-out of the L, so we know precisely where to place our wall break.
from the menu. Click to place a break in the wall where the wall extension meets the gable.
tool to select one of the walls indicated below in red.
edit tool to display the Wall Specification dialog.
from the menu to open the Build Roof dialog.
from the menu to see the results. In Home Designer Pro, select 3D> Create Perspective View> Perspective Full Overview