Present random shape, then fixed order (assignment help)

I tried but it said “cannot convert from int to boolean”