\(\left\{{}\begin{matrix}P\left(x,y\right)=2x^2-3xy+4y^2\\Q\left(x,y\right)=3x^2+4xy-y^2\\R\left(x,y\right)=x^2+2xy+3y^2\\f\left(x,y\right)=P-Q+R\end{matrix}\right.\)
\(f\left(x,y\right)=\left(2-3+1\right)x^2+\left(-3-4+2\right)xy+\left(4-\left(-1\right)+3\right)y^2\)
\(f\left(x,y\right)=0x^2-5xy+8y^2=8y^2-5xy\)