a^3b+ab^3
=ab(a^2+b^2)
=ab[(a+b)^2-2ab]
=8x(6^2-2x8)
=160
3a^2-6ab+3b^2
=3(a-b)^2
=3[(a+b)^2-4ab]
=3(6^2-4x8)
=12