For the general reaction:
aA
+
bB
cC
+
dD
K
c
= [C]
c
x
[D]
d
/ [A]
a
x
[B]
b