a)
\(\frac{1}{x^2-4x+4}dx=\frac{1}{\left(x-2\right)^2}dx=-\frac{1}{x-2}+C\)
b) \(\frac{1}{9x^2-12x+4}dx=\frac{1}{9\left(x-\frac{2}{3}\right)^2}dx=\frac{1}{9}.\frac{1}{\left(x-\frac{2}{3}\right)^2}dx=\frac{1}{9}.\frac{1}{x-\frac{2}{3}}=\frac{1}{9x-6}+C\)