Their answer was correct but, you could also use the options they want you to on E2020 which are First, I would balance the chemical equation.
I would convert the volume of HCl to mol HCl by dividing by the molar volume.
Next, I would use the balanced equation to find out how many moles of the salt are needed to produce the moles of HCl.
Finally, I would multiply by the molar mass of the salt to convert moles to mass.