This puzzle is taken from the MaTh Puzzles and BrainTeasers, grades 6–8 Over 300 Puzzles that Teach Math and Problem-Solving Skills by Terry Stickels