PLEASE HELP ME ON BOTH QUESTIONS!!!!! Giving away 10 points!!!

PLEASE HELP ME ON BOTH QUESTIONS Giving Away 10 Points class=