According to the task, you are proveded with patial pressure of CO2 and graphite, and here is complete solution for the task :
At first you have to find n1 =moles of CO2 and n2 which are moles of C
The you go :
[tex]CO2(g) + C(s) \ \textless \ =\ \textgreater \ 2CO(g) [/tex]
n1 n2 0
-x -x +2x
[tex] n1-x n2-x 2x Kp=P^2 (CO)/Pco2 [/tex]
After that you have to use the formula [tex]PV=nRT[/tex]
[tex] Kp=(2x)^2/n1-x[/tex]
Then you have to solve x, and for that you have to use RT/V
And to find total values:[tex] P(total)=n(total)*R*T/V[/tex]
I am absolutely sure that this would be helpful for you.