Which theorem proves triangles TAM is congruent to triangle HAM?

Triangles TAM and HAM have common side AM.
Also,∠TAM =∠HAM and ∠TMA=∠HMA.
We have 2 angles of one triangle, that are congruent 2 angles of the second triangle, and we have the common side that are included for these angles.
So,
we need theorem ASA.