Reverse Engineer A Gear