what is the formula for finding the length of a line on the cartesian plane.​