Paper and Sandpaper are on a train that gets hijacked by the Algebra Villain, who will make them crash unless Paper solves an algebra problem.