The Lewis representation above depicts a reaction between a halogen (blue) and a main-group element from group 


In this representation, each Y atom needs 

 electron(s) to complete its octet, and gains these electrons by forming 

 bond(s) with atoms of X .

There are 

 unshared electron pair(s) and 

 bonding electron pair(s) in the product molecule.

The bonds in the product are