A container has a volume of 3 L and holds 1 mol of gas. If the container is expanded such that its new volume is 8 L, how many moles of gas must be injected into the container to maintain a constant temperature and pressure?