J.R. S. answered 10/12/22
Ph.D. University Professor with 10+ years Tutoring Experience
Let's first look at the complete molecular equation: There is a question whether BaSO3 is considered soluble or insoluble. We will go with it being insoluble, otherwise there will be NO REACTION.
2HI(aq) + BaSO3(s) ==> BaI2(aq) + SO2(g) + H2O(l) ... molecular equation
2H+(aq) + BaSO3(s) ==> Ba2+(aq) + SO2(g) + H2O(l) ... NET IONIC EQUATION