A student put 1.18 mole of substance A and and 2.85 mole of substance

A student put 1.18 mole of substance A and and 2.85 mole of substance B into a 10 litre flask which was then closed. The reaction that took place was: A(g) 2B(g) 3C(g) D(g)On analysis the equilibrium mixture at 25 0 C was found to contain 0.376mole of D. Calculate Kc and Kp at this temperature.[ R = 0.0821atm l mole-1K-1].