Notice that
1p=qpq1q=ppq
If we rewrote the fractions like this, then we could add the two fractions.
1p+1q=qpq+ppq=p+qpq
Substituting pq = 9/2,
p+q=92
Subtracting q on both sides,
p=92−q
Substituting this into pq = 9/2,
q(92−q)=92q2−92q+92=02q2−9q+9=0
You can solve this equation by using the formula q=−b±√b2−4ac2a, where a is the coefficient of x^2, b is the coefficient of x, and c is the constant term.