How to find the x and y-intercept given (-2, 1) and (4,7)?