Equation for straight line from coordinates