question 1&2

Separated, worked on question 1.