The Smurfs must solve an algebra problem to free the Tooth Fairy and ease the teething pains of both Baby Smurf and a visiting moor's baby.