Did you go through the example? There's nothing to reverse engineer. The example clearly demonstrates the conversion process from a Mayan Number to decimal and vice versa.
_________________________
There are two types of vessels, submarines and targets.