When you use the Advanced Search Builder, Pubmed will automatically add parenthesis where they are necessary. You can see the exact search statement in the grey box at the top. This is what you would have typed in by hand to the search bar on the front page.