Try this:
ip route 172.30.212.0 255.255.255.0 80.10.1.2
ip route 182.40.110.0 255.255.255.0 81.20.1.1
ip route 0.0.0.0 0.0.0.0 80.10.1.2
By using the network addresses (zero in the last octet, based on your subnet mask), you will be able to route any ip address that has the first three octets the same.
The last octect can be anything between 1 and 254, on either subnet.
Any traffic that is destined for either the 172 or 182 network will be routed by the router, all other traffic that is destined for an unknown IP, (anything not directly connected or learned through a routing protocol) will be sent out the 80.10.1.2 interface.
You just have to take the last octet and set it for the netowrk address, in your case, it's zero.
Your network sounds pretty simple with just two subnets, connected via one router. You don't require a routing protocol. The above commands will resolve your routing issue for your subnets.
Ensure that the 80.10.1.2 interface is in fact connected to the WAN or you won't route the internet as the internet addresses will be unknown to your router.
Good Luck.