Create hw 12 problem 3