Solving using roots with parenthesis