how to find variables x- and y-

It says that the triangles are congruent (same size). Also, a triangle's angles add up to 180 degrees. In both of these triangles, one angle is 90° and another angle is 52°. The other angle is 180°-90°-52°=38°.
Solve these equations to find x and y: 2x+18=38, 3y+11=38
[tex]2x+18=38\\2x=20\\x=10[/tex]
[tex]3y+11=38\\3y=27\\y=9[/tex]