calculating the value of the likelihood L(Y | K = 1)