# How do you simplify (3x^2y-5xy+12xy^2)-(5xy^2+4xy)?

$= 3 {x}^{2} y - 5 x y + 12 x {y}^{2} - 5 x {y}^{2} - 4 x y = 3 {x}^{2} y - 9 x y + 7 x {y}^{2}$