First, tokenise the expression. Then, taking note of the operator between the brackets (+ or -), edit the tokens in the following bracket. For example, changing unary minuses minus another number to plus etc.

Just output the data to a string. Nice and easy

Laterz