a^3b+2a^2b^2+a*b^3=a^2(ab)+2(ab)^2+b^2(ab)
=2a^2+2*2^2+2b^2
=8+2(a^2+b^2)
=8+2[(a+b)^2-2ab]
=8+2(9-4)
=18