Step-by-step explanation:
The atmospheric pressure can be considered to calculate the moles of gas collected, but it must be assumed that the vessel in which the gas is being collected has a water level equal to the vessel that is in contact with the environment, so the pressure inside the gas collector will be equal to the atmospheric pressure.