In order to find the pressure in this situation, we will be using the Ideal gas Law, which perfectly correlates these informations, the formula for this Law is:
PV = nRT
Where:
P = pressure, we want to find it
V = volume, 1.00 L
n = number of moles, we will also find it
R = is the gas constant, 0.082
T = 301 K
To find the number of moles, we need to use the mass provided in the question and also the molar mass of CO2, 44.01g/mol
44.01g = 1 mol
7.94g = x moles
x = 0.180 moles of CO2
Now we can use the ideal gas formula:
P * 1.00 = 0.180 * 0.082 * 301
P = 4.44 atm