Wrap the worm around all the mushrooms while reaching full extension enough to burrow in the new hole to pass each level. Make sure not to end up too short!