Total ways: 35=24335=243. Ways with <3 yellow: 1+2(51)=211+2(15)=21. So, 243−21=222243−21=222 ways with at least three yellow squares.