If p, q, and r are related by the equation 6q+p=9r, which equation correctly expresses q in terms of p and r?
q=9r−6p
q=69r−p
q=69r−p
q=6p−9r