Alice's adventures in algebra: Wonderland solved

A little something to get those math neurons firing.