In theory you can also use 4 vDevs of 9 disks in a RAID-Z2. That could potentially give better performance than 3 x 12 disk RAID-Z2. But, it does cost 2 more disks for redundancy;
3 x 12 disk RAID-Z2 = 6 disks of redundancy
4 x 9 disk RAID-Z2 = 8 disks of redundancy
Some people want the ultimate in performance, and some redundancy, so they might go for Mirrors;
18 x 2 disk Mirror vDevs = 18 disks of redundancy
12 x 3 disk Mirror vDevs = 24 disks of redundancy
We can give you choices and explain certain configuration's flaws, like 36 disks in a RAID-Z2 vDev is way too wide. In general, more vDevs is better performance.
But, in the end, unless you buy a prepackaged set of hardware and software, the choices are yours. You have to live with the results. Most of us can't guarantee what will work best for you. (Nor do we want to be responsible for choices.)