Ta có: \(x+y=m\)
\(\Leftrightarrow\left(x+y\right)^2=m^2\)
\(\Leftrightarrow x^2+y^2+2xy=m^2\)
\(\Leftrightarrow2xy=m^2-n\)
\(\Leftrightarrow xy=\dfrac{m^2-n}{2}\)
\(P=x^3+y^3=\left(x+y\right)^3-3xy\left(x+y\right)\)
\(=m^3-\dfrac{3\left(m^2-n\right)}{2}.m\)
Vậy...