How can I create these specific patterns ?

Hey, I have a question. I'd like to sell PDF exercise books that people can use to prepare for a test. One of the components is a subtest where you have to match certain patterns. Does anyone have any ideas on how I can create these patterns? AIs haven't worked very well so far. Or do I need an AI that I can feed with multiple sample patterns?