If a + B = 6, ab = 7, then the value of A2B + AB2?

If a + B = 6, ab = 7, then the value of A2B + AB2?

a2b+ab2=ab(a+b)=6*7=42