Problem 1

Problem 2

Problem 5

Problem 7