answer for assignment2

There are several questions I cannot figure out. Hope instructor can
offer some explanations