If you learn nothing else from your university class using R, you'll be winning if you learn to create a reproducible example (reprex): [Video] Reproducible Examples and the `reprex` package
You're basically asking us to do your homework for you, so the least you can do is to make it easier for us to help you by creating a well formatted reprex.