Answer
The formula of the compound formed is $AlN$.
Work Step by Step
Aluminium forms the cation $Al^{3+}$. Nitrogen forms the anion $N^{3-}$. To balance the charges, 1 ion of aluminium reacts with one ion of nitrogen. So, the formula of the compound formed is $AlN$.