the solution is to write an expression in slope intercept form, and then solve it