Expected primary expression

To figure it out you need an understanding of C++ language.

"Expected primary expression" is not the only error in your code. Honesty speaking, this sketch has a lot of errors and typos, so, I think , the preferable way for you is just to copy the syntax from the library examples.