Aluminum can bond with phosphorus, chlorine, and fluorine. Aluminum and fluoride end up as Aluminum Trifluoride. The formula is AlF3. Each of Aluminum's extra three atoms fills one of the fluoride and atoms. Aluminum and chlorine and end up as Trichloride. Trichloride means that three fluorine atoms are involved. The formula is AlCl3. The three chlorine atoms bond with the three extra electrons that come with aluminum. Aluminum and phosphorus end up as Aluminum Phosphide. Aluminum has three extra electrons and phosphorus is looking for an extra three electrons so they work perfectly.