Function was not declared in this scope - compile error

First, do the auto-format in the IDE, and then the braces should more-or-less line up vertically.

Second, if you put the cursor after one, the other (corresponding) one should be highlighted slightly.