Assuming the system is an ideal gas where the intermolecular forces are very limited. In this case the ratio of the pressure to the total pressure is equal to the ratio of the moles of CO to the total number of moles. Therefore,
n/n,total = p/p,total
0.22/(0.22+0.35+0.64) = P/2.95
P = 0.536 atm