First, based on your 10 grams of calcium carbonate, you need to calculate how much mass (or moles, really) of HCl you need theoretically to react with that based on your equation. Then you need to use the concentration of HCl* to determine how much HCl to add.
*Do you have an idea of what 30% HCl means? You'll need to convert that into a molarity.
Bear in mind that this will be a theoretical value. Reactions don't typically go to 100% completion, and time is a factor as well, as is overall concentration of reagents. If you want to really get close to 100% conversion, it is typical to use your driving reagent in large excess, and do your reaction in a reasonably small amount of volume.