Answers: Advanced Query Rules - Assessment

So I think I figured this out ^ but now I am having trouble with the ending brackets - they have the red squiggles and I can’t figure out what I’m doing wrong, and I can’t see where the brackets link to track them. Am I missing a comma or something else here?