To solve this problem it is necessary to apply the concepts related to density in relation to mass and volume for each of the states presented.
Density can be defined as

Where
m = Mass
V = Volume
For state one we know that




For state two we have to




Therefore the total change of mass would be



Therefore the mass of air that has entered to the tank is 6.02Kg