Solve the 'Max Points on a Line' question