The equilibrium constant divides the products by the reactants.
So, if r+sb=t(whatever variable used here)
r & b would be your reactants & (left out variable) would be your product. The # of moles would be used as exponents.
[tex] eq \: constant = \frac{r \times {b}^{s} }{ {x}^{t} } [/tex]
Hope that helps!