LinearEquationSolver Calculate the linear equation of two points and the distance between two points.