MPD interview question

Slope Question