Find the gradient and y-intercept from a linear equation.