How do i get rid of this "Unexpected symbol 'void' error?

Im trying to make Pong on Unity, this is my first project on Unity. Im struggling to get rid of this "Unexpected symbol ‘void’ error, and could really use help.

-there is a “}” at line 12 , remove it.