Your formulas do not work in the current form, you even have them as text in the example. Why not say in English what you want

it will also give an idea of presedence