The color commentary in the Elements can be more interesting than the "propositions," or "proofs," themselves. And while the notes accompanying Proposition 26 are not nearly as quarrelsome as the Epicureans' comments about the Triangle Inequality Theorem, there's still some nice context here, in particular with regard to the idea that the theorem was used to determine the distance of ships from the coast.
In Proposition 26, Euclid actually deals with two separate theorems: the Angle-Side-Angle Theorem (ASA) and the Angle-Angle-Side Theorem (AAS), but we'll only look at the first of these here.
Proof by Contradiction First, and Then the Ships
Hover over the picture at the right to see the "Given"s in this proof: \(\small\measuredangle\mathtt{B} \cong \small\measuredangle\mathtt{E}\) and \(\small\measuredangle\mathtt {C} \cong \small\measuredangle\mathtt{F}\). Those are the two A's in ASA. And \(\overline{\small\mathtt{BC}}\cong\overline{\small\mathtt{EF}}\) is the S. Euclid says that he can show that the two triangles are congruent given this information.
So, he starts by supposing that he's wrong and that the triangles are not congruent. Suppose, he writes, that \(\overline{\small\mathtt{AB}}\) is actually longer than \(\overline {\small\mathtt{DE}}\):
Then, since \(\small\mathtt{BG}\) is equal to \(\small\mathtt{DE}\), and \(\small\mathtt{BC}\) to \(\small\mathtt{EF}\), the two sides \(\small\mathtt{GB}\), \(\small\mathtt{BC}\) are equal to the two sides \(\small\mathtt{DE}\), \(\small\mathtt{EF}\) respectively; and the angle \(\small\mathtt{GBC}\) is equal to the angle \(\small\mathtt{DEF}\); therefore the base \(\small\mathtt{GC}\) is equal to the base \(\small\mathtt{DF}\).
That last bit (that \(\small\mathtt{GC} = \small\mathtt{DF}\) because m\(\small\measuredangle\mathtt{GBC}\) = m\(\small\measuredangle\mathtt{DEF}\)) is Proposition 6, so it's cool. But we've also got that \(\small\Delta\)\(\small\mathtt{GBC}\) \(\cong\) \(\small\Delta\)\(\small\mathtt{DEF}\) without Proposition 6, because of the Side-Angle-Side Theorem. And if those two triangles are congruent, then \(\small\measuredangle\mathtt{GCB}\) is congruent to \(\small\measuredangle\mathtt{DFE}\). But that leads to a contradiction:
And if \(\small\mathtt{AB}\) is equal to \(\small\mathtt{DE}\), and all the "Given"s are true, then \(\small\Delta\)\(\small\mathtt{ABC}\) \(\cong\) \(\small\Delta\)\(\small\mathtt {DEF}\) by SAS.
So, About Those Ships
Apparently, we have a note telling us that the Angle-Side-Angle Theorem that you just proved was used to determine the distances of ships from the shore, but no indication is given as to how this was done. So, there has been some speculation: