Answer
Element X is located in group 6A.
Work Step by Step
The total charge of the aluminum ions is +6. The compound is in need of an atom with 6 valence electrons to be stable. Atoms in this group all have the required number of valence electrons.