Y= Mx+B. Solve for M
You said that Y = Mx + BSubtract B from each side: Y - B = MxDivide each side by 'x' : (Y - B) / x = M