total pressure = pressure of all reactants and products added together.
NH4CO2NH2 is a solid and the partial pressure of it is negligable
As you have the reaction equation you can calculate the fraction of CO2 and NH3 of the pressure (and thus calculate their partial pressures)
Kp for this reaction is the product of the partial pressures of the products