a) \(\left(-5a^4\right)\cdot\left(a^2b-ab^2\right)\)
\(=\left(-5a^4\cdot a^2b\right)-\left(-5a^4\cdot ab^2\right)\)
\(=-5a^6b+5a^5b^2\)
b) \(\left(x+2y\right)\left(xy^2-2y^3\right)\)
\(=x^2y^2-2xy^3+2xy^3-4y^4\)
\(=x^2y^2-4y^4\)
`a, (-5a^4)(a^2b - ab^2)`
`= -5(a^(4+2) . b) + 5a^(4+1) . b^2`
`= -5a^6b + 5a^5b^2`
`b, (x+2y)(xy^2-2y^3)`
`= x^2y^2 + 2xy^3 - 2xy^3 - 4y^4`