An expression tree is worked from the bottom up: each operator acts on the values below it.
What is the value at the top of the tree?
Bottom first: 7 × 3 = 21 and 36 ÷ 4 = 9
Then 25 + 21 = 46
Top: 46 − 9 = 37
Trap: 87 works left to right, (25 + 7) × 3 − 9.
Answer: 37