How to rout 2 VLANS on MT RouterBR 750g

Hi

I bought new MT Routerbr 750g box. I got the basic configuration done on the box to have so i can connect to internet. Basically i use i port 1 for WAN ( internet ) and the rest ports ( 2 to 5) for private LAN. I use firewall configuration to connect LAN to WAN and vi-verse.

Now i want to use 2 VLANS for testing purpose on port 4 vlan40 and port 5 vlan50. My question is how do i route the traffic from those vlans so users on those ports can connect to internet? Routing, firewalll etc.

Can you help me with configuring it? I use Winbox for configurations.

Step -by- step or general help is needed.

Thanks to all

You need to add vlan interfaces to ethernet. Here you can find basic example
http://wiki.mikrotik.com/wiki/Manual:Interface/VLAN