Drawing a roof with pitches at right angles

@Shep, nice animation and solution.
Also see my reply here about moving a vertex: Joining in-line lines - #10 by Wo3Dan
See how you can apply it here to speed up getrting the end result without drawing extra edges plus deleting some others.

Use/drag the vertex (where you extended the edge) to ‘Constrained to Line Intersect Plane’, to intersect the gable roof plane