I've drawn the above diagram as same as the diagram of the book.
The leftmost and the right most arrows make $~90^{\circ}~$
Currently I can't get how the below 2 angles are obtained.
$$ \theta_{1}:= \theta_{} + 45 ^{\circ} =\text{angle between left M and H} $$
$$ \theta_{2}:= \theta_{} - 45 ^{\circ} =\text{angle between right M and H} $$
$$ \theta_{1} + \theta_{2} = 90 ^{\circ} $$
must be held but actually
$$ \theta_{1} + \theta_{2} =2 \theta_{} \neq 90 ^{\circ} $$
I've may made some mistake.
I think we may can assume $~\theta \ll1~$

The above circled part shows your error. It should be $45-\theta$ and not the other way round.
Now continue and you get $\theta+45$ and $45-\theta$. Now can you complete the answer yourself?