When two operators have same preference, then associativity indecates which needs to evaluate further.
Your first statements are based upon left associativity, where second ones are based upon right associativities.
So first fix the associativity of operators, then try to convert into postfix/prefix