see the attached figure to better understand the problem
we know that
the sum of the internal angles of a triangle is equal to

so
-----> equation

------> by suplementary angles
solve for m3
-----> equation

substitute equation
in equation



----> equation

let's analyze each case
see the equation




see the equation




see the equation



so

see the equation



so

see the equation


so

see the equation


when m1=m3--------> m3+m2=m4
so

therefore
the answer is


