On the side BC of the triangle ABC we construct towards the exterior a square BCDE. Denote the intersection between AE and BC by M. Use the law of sines to prove that
$$\frac{BM}{CM}=\frac{\cos \measuredangle B\cdot \sin \measuredangle C}{\sqrt{2} \cdot \sin \measuredangle B \cdot \sin(\measuredangle C+45°)}$$
If someone could please help me prove this problem. I do not have a similar problem to work off of. I am unclear of where the $\sin(\measuredangle C+45^{\circ})$ comes into play and the $\sqrt{2}$.
