First part of Home Work 2 Chapter