I need help with simplifying these two equations:
(ab^2)+(a^2b)+(a^2b^2)
(ab^2)+2ab-(3ab^2)-ab
$\displaystyle ab^2 + a^2b + a^2b^2$.
Can you see that each term has $\displaystyle ab$ as a factor.
So you can take it out as a common factor.
So $\displaystyle ab^2 + a^2b + a^2b^2 = ab(b + a + ab)$.
$\displaystyle ab^2+2ab-3ab^2-ab$
Collect the like terms.
So $\displaystyle ab^2 + 2ab - 3ab^2 - ab = ab - 2ab^2$.
Now take out $\displaystyle ab$ as a common factor.
$\displaystyle ab - 2ab^2 = ab(1 - 2b)$.
Btw neither of the questions you posted were actually equations. They were expressions. You only have an equation when there is an equals sign...