So here is the basic idea:
"titrated to equivalence" means that by adding 50ml of .1M NaOH, the excess HCl was neutralized.
This is a fancy chemist way of saying that adding that amount of base canceled the excess acid, or that Mols of base = Mols of excess acid.
so (50mL)(.1M NaOH) = 5mmol (milli mol) of OH = mols of excess HCl.
You know that the TOTAL mols of HCl = (150mL)(.1M HCl) = 15mmol.
Therefore the amount of reacted HCl = Total - excess = 15mmol - 5mmol = 10mmol.
And you can read off from the chemical equation that for every 1 mol of CaCO3 reacted, 2 mol of HCl are needed
or say it backwards,
for every mol of HCl, .5mol of CaCO3 is needed
So mols of CaCO3 reacted = (mol HCl)/2 = 10mmol/2 = 5mmol.
MW of CaCO3 = 100.09g/mol
therefore the Mass CaCO3 reacted = (100.09)(5mmol) = 500mg
And there it is. Don't let yourself get confused by all the excess information chemists like to throw into their problems. Just keep your eye on the prize and follow it's path.
Good luck on your exam.