Worked example: slope from graph