Assume that you have 1.00 $\mathrm{g}$ of a mixture of benzoic acid (molec. mass $=122 \mathrm{amu}$ ) and gallic acid (molec. mass $=170 \mathrm{amu}$ ), both of which contain one acidic hydrogen that reacts with NaOH. On titrating the mixture with $0.500 \mathrm{M} \mathrm{NaOH}, 14.7 \mathrm{mL}$ of base is needed to completely react with both acids. What mass in grams of each acid is present in the original mixture?