My code is doing the beginning and end but not my statements in the middle

What am I doing wrong with my code? It’s not calculating my statements in the middle.

Current behavior:

Desired behavior

Repl link:

code snippet

Hey, @shawilson4 welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code: