If | A-1 | + | B-2 | = 0, find the value of the algebraic formula 2A + B

If | A-1 | + | B-2 | = 0, find the value of the algebraic formula 2A + B

|A-1 | + | B-2 | = 0, | A-1 | ≥ 0 and | B-2 | ≥ 0
So | A-1 | = 0, | B-2 | = 0
∴a=1 ,b=2
So 2A + B = 2 × 1 + 2 = 4