This question was asked in Ex 3.2, 1
Formulas

Anshu Thakur's image