solutions for homework twelve 2449716