Only through experience.
Need to recognize H2S is a weak acid.
The others are strong bases or stronger acid anhydrides.
the last one (e) is easy to discount because C2H2 gas is formed, so as gas is evolved, the equilibrium keeps shifting to the right.
(c) can be discounted because oxides of groupI are strong bases.
a) Since Phosphoric is a weak acid, it prefers being protonated and therefore it's goes to the right.
b) AlCl3 is a lewis acid. Al3+ is easily hydrated.