implementation shortfall

CFAI page 62 reading 44 #10b answer. Where in the text does it talk about using the midpoints to calculate implementation shortfall? Is this because it is a sale?

I think it is because both bid and ask prices are given, hence more precision is welcomed. On the other hand, when they talk about closing prices, it is “the” closing price which should be taken directly.