Okay so you have Ba(OH)2, BaCO3, and BaSO4. Why does Ba(OH)2 and BaCO3 dissolve and BaSO4 doesn't when placed in HCl. Is there anywhere to analyze these types of problems numerically, maybe using the Kb values? If not, how else would you be able to tell if an insoluble salt will dissolve in a strong acid?