A ^ 2-10a + B ^ 2 + 6B + 34 = 0, what is the value of AB?

A ^ 2-10a + B ^ 2 + 6B + 34 = 0, what is the value of AB?

a^2-10a+b^2+6b+34=0
(a-5)^2+(b+3)^2=0
So a-5 = 0, B + 3 = 0
a=5 b=-3
ab=5x(-3)=-15