Answer
See below.
Work Step by Step
Use the hint and the given figure, we have $\theta=\theta_2-\theta_1$ and
$tan\theta=tan(\theta_2-\theta_1)=\frac{tan\theta_2-tan\theta_1}{1+tan\theta_2 tan\theta_1}=\frac{m_2-m_1}{1+m_1m_2}$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.