From the figure:
we can see that angles q and 130 are supplementary. This imply
Then, we can draw the following picture:
since interior angles of a triangle adds up to 180, we have
Now we have the following picture:
so, this correspond to an isosceles triangles because the side AB is equal to the side AC. Then, angles at C and B are the same. This imply that:
Therefore, the answer is m=40 and n=25