Now I have problems designing the K-map... I know the kmaps I have drawn there are wrong but where exactly does each value of for example J2 correspond to? I thought they corresponded to the value of the present state... do they actually correspond from numbers from 0 onwards (like the first value of J2 is 000, next value is 001, then 010?) And also, what about the blank squares? Do I replace those with don't cares or are they supposed to be left blank?

Any help to clear my doubts would be appreciated