I need assistance with configuring VLANS on RB5009 and a CRS326

Please read,

Which contains examples for both router and switch.
And this video perfect for the CR326
https://www.youtube.com/watch?v=YLtGQAQ8iS0&t=1522s