Well 2/3 were converted into ammonia, so this leaves you with 3 moles of nitrogen and 9 moles of hydrogen. And since the nitrogen to ammonia ratio is 1:2, this will give you 12 moles of ammonia (as 6 moles of nitrogen were converted, so it will make 12 moles of ammonia). Then you divide each by 10 (as 10dm^3 container) to get the concentrations, so you can put them into the Kc equation.