Help with two assignments

All instruction is in the assignment.