Worked example: slope from two points