This question was asked in Ex 14.1, 2
Formula of mean

Rajni Goutam's image