This question was asked in Ex 12.2, 5
Formulas of chapter trigonometry 
Madhu Bala's image