assignment-11-4

please see the attachment