The Brainliest Answer!

This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
CosA = m CosB
CosA/CosB = m
using coponendo dividendo ie if a/b = c/d then (a+b)/(a-b)= (c+d)/(c-d)
so (CosA + CosB)/(CosA - CosB)=(m +1)/(m -1)
using formulas 
[2Cos {(A + B)/2}Cos{(B - A)/2}]/[2Sin{(B- A)/2}Sin{(A+ B )/2}]=(m +1)/(m -1)
do cross multiplication
2 will be canceled
Cos{(A + B)/2}/Sin{(A + B)/2}={(m +1)/(m -1)} × Sin{(B - A)/2}/Cos {(B - A)/2}
we know that cosθ/sinθ = cotθ and sinθ/cosθ= tanθ
so we get 
Cot{(A + B)/2}={(m +1)/(m -1)} Tan{(B - A)/2}

2 5 2
Oh nice, I didn't know there were such formulas too ! Thanks !
Look here, the formula is different. It shows A-B in the RHS, but in your answer, it is B-A, can you tell why ?
and after expanding CosA-CosB, there should be a negative sign on one of the terms of RHS, where is that in your answer ?
Comment has been deleted