I've added an example to the page on creating lines and rays with the Altermundus package. The additional information is posted here. Start with a typical geometric diagram you might need to construct in high school mathematics.

I'm calling the diagram "simple" because it consists of line segments, angle markings and text. In order to create the lines, you need 2 points. Therefore, when you look at the diagram you should see 9 points are needed.

I take the bottom left point to be the origin but that isn't required. The building on the left is made up of 4 points:

\tkzDefPoint(0,0){A1}

\tkzDefPoint(1,0){B1}

\tkzDefPoint(1,2){B2}

\tkzDefPoint(0,2){A2}

The building on the right has 5 points:

\tkzDefPoint(5,0){D1}

\tkzDefPoint(6,0){E1}

\tkzDefPoint(5,5){D2}

\tkzDefPoint(6,5){E2}

\tkzDefPoint(5,2){H}

Once you have the 9 points defined you create the line segments. In addition to \tkzLabelSegment there is \tkzDrawPolygon. The \tkzDrawPolygon takes 3 or more points and creates polygon defined by them. The building on the left and right are \tkzDrawPolygon(A1,A2,B2,B1) and \tkzDrawPolygon(D1,D2,E2,E1), respectively. The dashed lines are created:

\tkzDrawSegments[dashed](B2,H B2,D2 B2,D1)

Be careful here! Note that there is a space after every 2 vertices. Putting a comma between them causes an error. After that the \tkzLabelSegment is used to get text.

\tkzLabelSegment[above=3pt](B2,H){$x$}

\tkzLabelSegment[left=3pt](D2,H){$a$}

\tkzLabelSegment[right=3pt](B1,B2){$100$ ft}

and finally the angles are marked and labelled.

\tkzLabelAngle[pos = 0.75](H,B2,E2){$42^{\circ}$}

\tkzMarkAngle[size=0.75cm](E1,B2,H)

\tkzLabelAngle[pos = 1.0](E1,B2,H){$20^{\circ}$}

\tkzMarkRightAngle(B2,H,D2)

Note the is a special command to create the right angle mark.

By breaking down a simple geometric diagram into the points needed to create the lines, you can easily decompose the picture into pieces that can be plotted with the macros mentioned. Define the points, create the lines, and add the text. See the page on creating lines and rays with the Altermundus package for the complete file to create the diagram.