Through 2a of homework 2