a,
$xy^2+x^2y+(-2xy^2)=xy^2-2xy^2+x^2y=-xy^2+x^2y$
b,
$12x^2y^3z^4+(-7x^2y^3z^4)=12x^2y^3z^4-7x^2y^3z^4=5x^2y^3z^4$
c,
$-6xy^3-(-6xy^3)+6x^3=-6xy^3+6xy^3+6x^3=0+6x^3=6x^3$
d,
$\frac{-x^2}{2}+\frac{7}{2}x^2+x=(\frac{7}{2}-\frac{1}{2})x^2+x$
$=3x^2+x$
e,
$2x^3+3x^3-\frac{1}{3}x^3=(2+3-\frac{1}{3})x^3=\frac{14}{3}x^3$
f,
$5xy^2+\frac{1}{2}xy^2+\frac{1}{4}xy^2=(5+\frac{1}{2}+\frac{1}{4})xy^2$
$=\frac{23}{4}xy^2$