You have an extra curly brace closing off your class declaration too early. All of your methods are outside of “PlayerMovement”:
For the future, please copy/paste your code in your thread using code tags instead of uploading an image of it to an external site.