This question was asked in Ex 7.1, 2

How did section formula came

Chandran Babu's image