If tan A = a/(a + 1) and tan B = 1/(2a + 1), then the value of A + B is (a) 0 (b) π/2 (c) π/3 (d) π/4