R programming

Plz do not cheat, I need help