\(\left\{{}\begin{matrix}f\left(2\right)=0\\f\left(3\right)=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}4+2a+b=0\\9+3a+b=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}2a+b=-4\\3a+b=-9\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}\left(3a+b\right)-\left(2a+b\right)=-9-\left(-4\right)\\2a+b=-4\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}a=-5\\-10+b=-4\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}a=-5\\b=6\end{matrix}\right.\)