The only thing I can come up with is solving this system of 3 equation with 3 unknowns(m, n, x).
Once you find these values, you can use trig to find the angles of the acute angles.
|dw:1350891015089:dw|