The electronic configurations of three elements, A, B, and C are given below.  

A 1s2 2s2 2p6
B 1s2 2s2 2p6 3s2 3p3
C 1s2 2s2 2p6 3s2 3p5

The molecular formula of the compound formed from B and C will be 

1. BC

2. B2C

3. BC2

4. BC5

The electronic configuration show that B represents phosphorus and C represents chlorine. The stable compound formed is PCl5 i.e., BC5.