Help me find the missing variables

Answer: n=45 degrees, m=20 degrees
Step-by-step explanation:
the smaller triangle is isosceles
since one of the angles is 90 degrees that the other have to be 45 degrees each
so n=45 degrees
the big triangle is also isosceles meaning that m+n=(180-50)/2
m+n=65
we know n=45
so m=20