L- attributed evaluation is like, on first time you are seeing it, evaluate its semantic rule.
S- attributed evaluation is like, on last time you are seeing it, evaluate its semantic rule.
but in this example, there is no L-attribute or S- attribute ===> just use Post order traversal or Depth first search from left to right ===> 9 5 + 2 +