middle school math puzzles

math picture puzzle answer

The answer to this math picture puzzle is 40 as explained in below picture

1

math picture puzzle

Find the value of last equation in the below picture Check Answer