equation of slope for m=1 (2,5)