Please find the homework 5 attachment