This question was asked in Ex 7.1, 2
Section formula 
pragna's image