In the xy-coordinate system, points (2, 9) and (–1, 0) lie on the straight line k. If the point (n, 21) lies on line k, what is the value of n?