Solution to #1

Solution to #4

Solution to #7

Solution to #2

Solution to #5

Solution to #8

Solution to #3

Solution to #6

Solution to #9

Solution to #10