ok, the question says that the compound dissolves in water spontaneously, so we automatically know that delta G is < 0.
also, it says that it is dissolving in water. Going from solid to liquid ALWAYS has a positive delta H and S because more disorder is created.
it also says that the temperature of the water decreases. if the temp. decreases, it means that it is cold. so that means that it is endothermic because endothermic reactions are cold.
even if the cold = endothermic part doesnt make sense, memorize the fact that going from left to right on the phase diagram is positive delta H and S/
and going right to left is always negative delta H and S