The anions (A) form hexagonal closest packing and cation (C) occupy only 2/3 of octahedral voids in it, then the general formula of the compound is
CA
C2A2
C2A3
C3A2