You've got your brackets in the wrong place. Move the closing bracket for the main function from the end of the program to before double getTotal().
And then move using namespace std to the start of the program, after #include<iostream>.
Lastly you do not need semi-colons after the function name and parameter list, for example, remove the semi-colon form the end of double getTotal(int points, int fouls); on line 25
Well you actually have a few errors here. First you need to put the functions outside of main, right now you are trying to define the functions inside main(). Second the first two function definitions are a bit wrong, you don't need the ; at the end.
1 2
double getTotal(int points, int fouls); //You have this
double getTotal(int points, int fouls) //It should be like this
Please don't delete your question after you've received an answer. It damages the ability of this forum to act as an archive of advice that others can learn from.