Solution:We put all the option in blank area and check who create particular pattern
J _ JJ _ _ JM _ _ MJ
JJMMJ โ J J J / J J M / J M M / J M J
MJJMM โ J M J / J J J / J M M / M M J
JMMJM โ J J J / J M M / J M J / Mย M J
But,
MMJJJ โ J M J / J M J / J M J / J M J
Hence, "MMJJJ" is the correct answer.