The theorem used to prove both triangles are similar is AAA (angle, angle, angle)
AAA theorem:
If in two triangles, corresponding angles are equal, then their corresponding sides are in the same ratio (or porportion) and hence, the two triangles are similar.