def EquationReduite(A,B): m=(B[1]-A[1])/(B[0]-A[0]) p=A[1]-m*A[0] print("y =",m,"x +",p)