First, calculate the mass of Na in the mixture, which is 20% of 4.0 g, i.e., 0.8 g of Na.
Then, use the molar masses of NaCl and NaBr to calculate the fraction of Na that is in NaCl.
By setting up the equation for the mass of NaCl, you will find that NaCl constitutes 48% of the mixture.