Meta interview question

Solving the math euqations with stack