how to get precedence of operator?

is this ques, precedence of operator varies from eg to eg... so how to solve it.?? 

meet @meet 29 Jan 2016 11:09 pm

precedence of any operator must decide from the grammar and in this grammar whenever u draw the tree for that grammar than in u find "-" at the lower level so "-" has high precedence then other