2x2−7x+9=0 has complex roots since D <0
Complex roots occur in conjugate pair if the coefficients are real.
Hence, if it is given that one root of the equations is common, both roots will be common.
So, the coefficients of the equations will be proportional ⇒a2=b−7=189 ⇒a=4 and b=−14