\(M=\dfrac{\left(5x^2y-7x^3y-7x^2y^2\right)}{x^2y}+7\left(3y+x\right)-14\left(y+2\right)\)
\(=\dfrac{x^2y\left(5-7x-7y\right)}{x^2y}+7\left(3y+x\right)-14y-28\)
\(=-7x-7y+5+21y+7x-14y-28\)
=-23
`(5x^2y-7x^3y-7x^2y^2):x^2y+7(3y+x)-14(y+2)`
`= 5x^2y:x^2y-7x^3y:x^2y-7x^2y^2:x^2y+7*3y+7*x-14*y-14*2`
`= 5 - 7x - 7y + 21y + 7x - 14y - 28`
`= (-7x + 7x)+(21y - 14y-7y)+ (5 - 28)`
`= - 23`