Cueball is pulling the rope to raise the Wheeled Thing. (The crank levers are prominently visible at the upper end.) Megan is supporting him, holding the bottom part of the Wheeled Thing in place. Ms. Frizzle takes care of the dangling rope, so it doesn't get entangled in the plants.