Ok, so since you seem to be very new to this kind of problem solving, lets see how we can overcome this hurdle. Instead of assuming at that at time t=4, number of of moles is p+q-r+s, etc.., what we can do is generalize,
Consider A--->C+D
Say, i wanted to find at time t, how much reactant,A i have. Suppose after this time, a number of moles x of the reactant has dissociated. We don't know what this x is, but we know that after this time, reactant amount remaining is
(initial amount)-x=ao-x, [D]=(its initial amount)+x=do+x
Similarly, [C]=co+x
Note, the molar ratio is 1:1:1, hence we can say x moles of A will give x moles of D and x moles of C.
Total number of moles=ao+do+co+x
If at all all components are gases, then
partial pressure can be calculated using the formula,
(partial pressure of component)=(its mole fraction)*(total pressure)
Note again that when calculating partial pressure, consider the stoichiometry of only those components which are gaseous.
I am sure you can solve the stoichiometry part now.
Next, are you aware of kinetic rate laws? If you are, to solve this type of problem, a general approach that i use:
(1) Check if it is zero order
(2) Check if it is first order.
If both of them fail,
(3) Check for nth order.