the solution is (2/3,-1/2)(-3,-8) and he formula is f(x)=mx+b given the slope and one point

You appear to be given two points, not the slope and one point.