Median Formula/Proof 3