Ignoring factors that do not depend on the parameters, the product of the two binomial likelihoods is
Including the sampling constants multiplies this by .