Final answer:
To find the value of q, use the equation y = mx + b and solve for b using one of the given points.
Step-by-step explanation:
To find the value of q, we can use the formula for the equation of a line, y = mx + b, where m is the slope and b is the y-intercept.
Given that the slope is 9 and the line passes through the points (-1,9) and (0, 10), we can find the value of b by substituting one of the points into the equation.
Plugging in the values for x and y from the point (-1,9), we get 9 = 9(-1) + b. Solving for b, we find b = 18.
Therefore, the value of q is 18.