a: \(=2\left[\left(m+n\right)^3-3mn\left(m+n\right)\right]-3\left[\left(m+n\right)^2-2mn\right]\)
\(=2\left(1-3mn\right)-3\left(1-2mn\right)\)
\(=2-6mn-3+6mn=-1\)
b: \(=m^3+3m^3n^3+n^3+m^6+n^6\)
\(=\left(m+n\right)^3-3mn\left(m+n\right)+3\left(mn\right)^3+\left(m^3+n^3\right)^2-2m^3n^3\)
\(=1-3mn+3m^3n^3-2m^3n^3+1\)
\(=2-3mn+m^3n^3\)