The problem statement tells you the triangles are similar, so the next question is "why should they be?"
The answer is they have 2 angles (thus all angles) equal. The two marked angles are equal, and angle A, shared by both triangles, is equal to itself.
Hence, the triangles are AAA similar.