The question has only given the angles so it can only be similar if it is similar by AA(angle-angle)
Both triangles have the 40 degrees so if another angle is the same then they would be similar
40+30+a=180
a=110
There is an angle that measures 110 so the triangles similar by AA