Boolean Algebra Syntax Question

EDIT:
I submitted my quiz and got 12/14 but I haven’t received an email indicating which questions I got wrong?

I’m a little lost on a certain kind of syntax and the logic behind it, here’s a screenshot of my work.

download

So I’m unsure of the ’ all the way on the right, if that is meant to eventually be used as a NOT operator for the one variable it’s next to, or if it’s meant to be a NAND operator for whatever you call the ((example)) subexpression? Whatever is in the double parentheses. I got 0 when applying the former method, and 1 when applying the latter. I’m unsure of which I’m supposed to use.