In the xy-plane, line M passes through the points (2,7) and (5,16). Which equation defines line M?
y=3x+1
y=3x+7
y=31x+319
y=3x+16