Azure IP subnetting through CIDR Range

I want to generate subnets without them overlapping just through prompting.
Currently I am running into the problem that it is not possible.
Does anyone have an idea what I can do to fix it?

“Generate subnets for Azure (needs 5 IPs extra). CIDR Range
Every subnet /IP Range can only be used once.
Make a continuing list.”

“1 subnet named IT with 2 devices
1 subnet named HR with 3 dev.
1 subnet named Management with 1 dev.
1 subnet cat 80 dev”

Cat is always overlapping:

I thought about Finetuning or maybe embedding Code or Function Calling.
Maybe someone has a better idea.