Hydrid vlan ports on hEX PoE RB750UPr2

Hello!!
I am kinda new using Mikrotik Routerboard and i have this “assignment” on my job. I have a hEX PoE RB750UPr2 and have this configuration to setup
eth1 VLAN 10 tagged VLAN 20 untagged
eth2 VLAN 10 untagged
eth 3 VLAN 30 untagged
eth 4 VLAN 40 untagged
eth 5 VLAN 20 untagged VLAN 30,40 tagged
With VLAN 30 and 40 using as VLAN 10 as internet gateway.
Obviously i dont want the whole solution. I hope if anybody pinpoint me to a direction, because i read that the Atheros8227 of RB750UPr2 doesnt support hybrid port with chip switching and i kinda got confused with VLAN filtering (if is usable with RB750UPr2).
Thank you anyway for your time!!!

bridge vlan filtering is usable on all RouterOS devices because it does everything in software, hence it doesn’t depend on specific features of different switch chips. And yes, the 8227 doesn’t support hybrid ports in general, so you have no option but to use bridge vlan filtering since you want VLAN 10 tagged on one interface and tagless on another one (the only way to use hybrid ports on an 8227 is that the tagless vlan is the same one on all ports where it is in use, including the CPU port).

Everything necessary is here.

Thank you very much for your time!!! I will dig on it!!!