If the square root of a + B + 1 and | A-B + 2 | are opposite to each other, find the cube of 22a-2b + 7 There should be a process

If the square root of a + B + 1 and | A-B + 2 | are opposite to each other, find the cube of 22a-2b + 7 There should be a process

Because the square root is nonnegative, the absolute value is nonnegative
So only those two are 0 at the same time can satisfy the condition
So a + B + 1 = 0, A-B + 2 = 0
So a = - 3 / 2, B = 1 / 2
22a-2b+7=-27
So the cube root is - 3