quiz revision rewrite answer and please explain what i did wrong

I’ve been given a chance to revise my quiz. i would like a revision as well as notes as to how you managed to answer the question.

So in a sense a how-to just explaining how you reached your conclusion.

obviously i had more problems in the second question so if you can explain that thoroughly that would be nice.