FunctionsAssignment

I am struggling with this assignment.