Final answer:
To find the equation relating p and q, we use the fact that AB is perpendicular to BC and the slopes are negative reciprocals. By setting the slopes equal to their negative reciprocals, we can solve for p and q.
Step-by-step explanation:
To find the equation that relates p and q, we need to use the information given in the question. Since line AB is perpendicular to line BC, the slope of AB is the negative reciprocal of the slope of BC.
The slope of AB can be calculated as:
slope AB = (q - 4)/(p - 6)
And the slope of BC can be calculated as:
slope BC = (q - 1)/(9 - p)
Setting these two slopes equal to their negative reciprocals, we get:
(q - 4)/(p - 6) = -1/((q - 1)/(9 - p))
Simplifying this equation will give us the relation between p and q.