Median Formula/Proof 1