If a + B = 6, ab = 4, what is the value of (a-b) ^ 2 + AB? (- 1 / 2) ^ 0 + (- 3) ^ 2 - (- 2) ^ - 2

If a + B = 6, ab = 4, what is the value of (a-b) ^ 2 + AB? (- 1 / 2) ^ 0 + (- 3) ^ 2 - (- 2) ^ - 2

(a-b)^2+ab=a^2+b^2-ab=(a+b)^2-3ab
So the result is: 6 ^ 2-3x4 = 24