\(Q=x^3+y^3-2x^2-2y^2+3xy\left(x+y\right)-4xy+3\left(x+y\right)+10\)
\(Q=x^3+y^3+3xy\left(x+y\right)-2\left(x^2+y^2+2xy\right)+3\left(x+y\right)+10\)
\(Q=\left(x+y\right)^3-2\left(x+y\right)^2+3\left(x+y\right)+10\)
Thay x + y = 5 vào ta có :
\(Q=5^3-2.5^2+3.5+10\)
\(Q=100\)