trunk configuration on hEX S

http://forum.mikrotik.com/t/using-routeros-to-vlan-your-network/126489/1

Have a read through the examples in this link and you should be well on your way.
At least it will spur more specific questions.