solutions for second homework 6242863