Uses user input to do calculations on a line. E.g. Slope, equation