Try to write three equations in three unknowns, describing the mixture and its composition. First equation can be
mNaCl + mNa3PO4 + mNaNO3 = 50 g
The other two you have to build using information about precipitate masses, molar masses and stoichiometry. Once you have three equations - solve, this is a simple algebra.