VLAN internet configuration

Hello, i am new in networks.
I have the following setup - internet via optics - 50 mbps in the head office.
I have connection to each small office. There’s no real internet going to the small offices, just hard connection via the ISP.
I have 2 VLANs from ISP. Via one of them i recieve internet signal in head office and the other one is for transmission the signal to the small offices.
I have the main router (in the head office) configured with 2 vlans - the incoming signal and the outgoing.
What should be the configuration of the router in the small office?
I don’t know how this practice is called and i can’t google for it for some example schemas.

it seems i need a little explanation about tagged and untagged vlan
as far as i know i can accept 1 tagged and 1 untagged vlan on the same port
which one has to be the tagged → the one with internet or the one for transmission?

You can only have one untagged VLAN on a port, and as many tagged VLANs as you’d like. Whether you tag on not tag a VLAN is up to you, there’s no technical requirements. You just have to make it match on both sides - if you’re sending tagged traffic on one side the other side must be configured to receive traffic with that tag. If you’re sending untagged traffic the other side has to be expecting untagged traffic.