Solutions for 1, 2 and 4-8.