Funny, did they like put the Al(OH)3 there for no apparent
reason? Or to sweep students off the road? 
Anyway, this kind of question requires you to apply your
chemistry knowledge into daily life activities. Like what the
question says, to cure excess stomach acidity (you may not need to
know that stomach fluids are actually acidic in this case).
So to cure high acidity, you must lower it. How to lower? By the
normal acid-metal, acid-base, acid-carbonate reactions. In this
case, it'll be the acid-carbonate reaction.
Simply saying, by removing the H+ (protons) from the stomach
fluid (it may be a bit misleading), the pH of the fluid will
increase, thus making it less acidic.
This question requires you to know which chapter is it talking
about. Then from there, think of the answer in a logical way.