answer: the mass of water will increase 30g.
This problem is a good example to understand the law of conservation of mass. This law states that mass can neither be created nor destroyed, meaning that the final mass is the same that what you started with. You start with 30grams of sugar plus x grams of water. The final mass will be: 30+x