Change the category permalink structure in online shop

I’m trying to change the scruture permalink but all the tries come to an error page.

enter image description here

When I try to use this template:

⦁ Template[brand]-products/[sub-category]/[productname]

The category page opens an error and products didnt open.

How can I do it running like this example?

⦁ Example: