Assumptions & formula

Formula and assumptions

m=(y₂−y₁)/(x₂−x₁); b=y₁−mx₁

Results

Enter values and press Calculate to see the result here.