a: =x^2+7x+49/4-61/4
\(=\left(x+\dfrac{7}{2}\right)^2-\dfrac{61}{4}\)
\(=\left(x+\dfrac{7-\sqrt{61}}{2}\right)\left(x+\dfrac{7+\sqrt{61}}{2}\right)\)
b: \(=9x^2+2\cdot3x\cdot\dfrac{1}{6}+\dfrac{1}{36}+\dfrac{35}{36}\)
\(=\left(3x+\dfrac{1}{6}\right)^2+\dfrac{35}{36}\)