I never saw the pattern of level 6 but figured it out by thinking for a while :')
Nice solve! Figuring it out by thinking is the best way :) Plenty more patterns ahead, some of them get properly weird. Let me know how far you get!