The correct options are
B Si
D P
Acidity increases from left to right, ranging from strongly basic oxides on the left to strongly acidic ones on the right. Na and Mg are alkali and alkaline earth metals, therefore they form basic oxides. Silicon is too similar in electronegativity to oxygen to form ionic bonds. Therefore, because silicon dioxide does not contain oxide ions, it has no basic properties. In fact, it is very weakly acidic, reacting with strong bases.
Phosphorus being more electronegative than Si forms more acidic oxides.