In the given figure, ABC and AMP are two right triangles, right angled at B and M respectively. Prove that: