hw 31 and 35