Step 1: Take 3 Atoms of B
Let B have 3 atoms in the unit; tetrahedral voids are 6.
Step 2: Occupied Voids
One third of 6 gives 2 atoms of A.
Step 3: Result
The formula is $A_2B_3$, so $x+y=5$, option (D).
Final Answer:
With 3 B atoms and 2 A atoms the formula is A2B3, so the sum is 5.
\[ \boxed{\text{(D) }\text{5}} \]