Find the partial pressure in a container
Since we're assuming these are all ideal gases, we can use Dalton's Law of Partial Pressures to solve this fairly easily; you never need to find moles of anything.  Unless something is strange, the percentages given are by volume or by pressure rather than by mass.  If they are intended to be by mass, what follows would need to be modified.  I suspect that the use of the words "air mass" in the problem are what caused the confusion.

The total pressure, 1.5atm, is equal to the sum of the partial pressures, each of which is proportional to its mole fraction in the container.  Because these are gases that have the same volume, 40L, their mole fractions are their percent of the total amount of gas.

The nitrogen, which is 78.1% of the total, has a partial pressure of:

$ 1.5 \cdot 0.781 = 1.1715\ atm$

That's true whether the oxygen is in the container or not.  To see that this is the case, we can remove the oxygen and do the same calculation.

If we remove 20.9% of the gas (in the form of oxygen) we are left with 81.1% of the original 1.5 atm remaining.

$1.5\cdot 0.811 = 1.1865\ atm$

We can determine the mole fraction of nitrogen in this new mixture of gases by adding up the remaining percentages and finding nitrogen's contribution to it:

$78.1 + 0.964 + 0.0378 =  79.1018\ units\ of\ gas\ total$

$\frac{78.1}{79.1018} \cdot 100\% = 98.73\%\ N_2\ after\ oxygen\ is\ removed$

As before, Dalton's Law of Partial Pressures tells us that the pressure of nitrogen will be its mole fraction times the total pressure, or 98.73% of 1.1865 atm.

$1.1865 \cdot 0.9873 = 1.1714\ atm$