Solution to Exercise 1:

Solution to Exercise 2:

Solution to Exercise 3:

Solution to Exercise 4:

Solution to Exercise 5:

Solution to Exercise 6:

Solution to Exercise 7:

Solution to Exercise 8: