Find the slope(s) twice, first the slope of the line connecting (2,4) and (4,8) and then the slope of the line connecting (2,4) and (8,12). If you get different slopes, then it'd be safe for you to conclude that the points do not lie on the same line.