A linear function k passes through the points (2,7) and (5,16). Which equation defines k?
k(x)=3x+1
k(x)=3x+7
k(x)=31x+7
k(x)=31x+319