To begin with, the problem itself is not accurately stated. #"K"_c# should be a combination of concentrations, not total moles, so a volume should have been given for the system. Fortunately, since this reaction involves only gases that we may take to be ideal, the equilibrium composition does not depend on volume and we can choose a convenient volume to calculate with. Let us go with #1" m"^3#.
We then have:
#"K"_c={["HI"]^2}/{["H"_2]["I"_2]}#
#"K"_c={(0.26" mol/m"^3)^2}/{("X mol/m"^3)("Y mol/m"^3)}#
#={0.26}/{"(X)(Y)"}#
#"X"# is the number of moles of hydrogen left at equilibrium. This is less than the #0.20# moles you put in because some of the hydrogen had to react to make the hydrogen iodide. Similarly #"Y"# is the number of moles of iodine remaining which is less than the #0.15# moles you statted with. Note that all the units cancelled out. You get that with a gas phase reaction where moles are constant, that's why the result is independent of volume. Lucky us.
So if #"X"# is less than #0.20#, what is it? We formed #0.26" mol"" HI"# via the reaction whose balanced equation is given as
#"H"_2+"I"_2=2" HI"#
Clearly one mole of hydrogen is consumed for every two moles of hydrogen iodide formed. So the remaining amount of hydrogen, in moles, is
#"X"=0.20-{0.26}/2=0.07#
And for the iodine we have:
#"Y"=0.15-{0.26}/2=0.02#
And then
#"K"_c={0.26}/{"(X)(Y)"}#
#={0.26}/{(0.07)(0.02)}#
Compare that with the listed answers and you find it matches answer C.