Math Problem With Parentheses