find the value of'n' if three points (5,7),(2,4),and (n,2)are collinear

Julia Montes's image