The correct options are
B Nitrogen
D Phosphorous
The elements with their electronic configuration and valency are given below:
ElementsElectronic configurationValencyBoron(2,3)3Nitrogen(2,5)3Aluminium(2,8,3)3Phosphorous(2,8,5)3
From the above table we can see all the elements are having valency of '3'.
Here elements like nitrogen and phosphorous will show a valency of '3' by gaining an electron as its easy for them to gain three electron. While in case of boron and aluminium, they will also a valency of '3' by loosing three electrons, as its easy for them to loose three electrons rather than to gain five electron to complete its octet.