Remember to format code when you post it. See How do I format code in my posts?.
The problem is that you have not defined
new_word before attempting to slice it. The instructions ask you to perform a concatenation to do that. It should be placed after ...
... and should look like this ...
new_word = word + first + pyg
Then, you can slice it. After fixing that, check your code again and post it, if necessary, so that we can address any remaining problems.