This question was asked in Ex 9.3, 13

Formula of gp

Piyush Pandat's image