The net movement of water molecules will be from the side with lower solute concentration to the side with higher solute concentration, driven by osmosis. In the given scenario, this would be from right to left.
Source: Standard reverse osmosis system design principles
Dissolved gases will pass through a perfect semipermeable membrane essentially 100%, due to their small molecular size and lack of charge, allowing them to diffuse freely through the membrane.
Source: Standard reverse osmosis system design principles