This question was asked in Ex 9.4, 10
Where did that n come from and why do we multiply and divide by 2

Ayesha Reem's image