In the reaction A + B ↔ C + D, the initial concentration of B is twice that of A, and at equilibrium, the concentration of A and D are equal. The value of the equilibrium constant is:
(a) 1
(b) 2
(c) 3
(d) 4