\(2x+3y=13\Rightarrow y=\dfrac{13-2x}{3}\)
\(Q=x^2+\left(\dfrac{13-2x}{3}\right)^2=\dfrac{13}{9}x^2-\dfrac{52}{9}x+\dfrac{169}{9}\)
\(Q=\dfrac{13}{9}\left(x-2\right)^2+13\ge13\)
\(Q_{min}=13\) khi \(\left\{{}\begin{matrix}x=2\\y=3\end{matrix}\right.\)