Brackets are your friends
OOoMath knows nothing about order of operation. You must use brackets to state order of operations explicitly. Consider the following example:
Markup
Result
2 over x + 1
2 over {x + 1}