Ask a question: if the square of a + the square of B - 6A + 10B + 34 = 0, then what is the value of the algebraic formula a + B?

Ask a question: if the square of a + the square of B - 6A + 10B + 34 = 0, then what is the value of the algebraic formula a + B?

∵a+b-6a+10b+34=0 ∴(a-6a+9)+(b+10b+25)=0 ∴(a-3)+(b+5)=0 ∴a-3=0 b+5=0 ∴a=3;b=﹣5 ∴a+b=﹣2