Finding x- and y-intercepts of a line given the equation - advanced