This question was asked in Ex 9.4, 9

Formula used in 9.4

Navdeep Rana's image