In the image above/below (i cant tell), you want to try and replicate the third reaction given the first two reaction, so you just have to manipulate the reactants/products to cancel out and result in the reaction we’re looking for.
Remember:
when you double moles: square the equilibrium constant
when you half the moles: Square root the equilibrium constant
when you reverse a reaction: take the reciprocal of the equilibrium constant