How do I know if they are on the same line?
If their slope are the same. Find the slope of the the 3 points