In the first image, we have an isosceles triangle. An altitude is dropped from the apex to the base, creating two right triangles on either side.
Each resulting right triangle shares the altitude (a common side) and has one half of the base as another side. The altitude is perpendicular to the base, forming a right angle that is included between these two sides.
Thus, both pairs of triangles have two sides and the included angle congruent, satisfying the SAS criterion.
In an isosceles triangle, the altitude to the base is also a median and angle bisector. Therefore, it splits the base into two congruent segments and forms two congruent right triangles.
The SAS criterion is often used when constructing and verifying properties in geometric figures such as parallelograms, trapezoids, and kites, where certain pairs of triangles inside these figures can be easily shown to be congruent.