You’ve been creating a lot of posts about syntax errors. I think you need to go slower and read carefully.
In the code you shared, it says “Only change code below this line” but you have ignored that. The syntax error is also telling you what is wrong: you have a return that is not inside a function.
Trying to go fast is just going to make you completely lost. Programming is a skill built on careful attention to detail.