We are two friends.we need solution of two questions given in attachment below.two solution  of each question slightly different from each other.I have the book too so i am going to attach that too in attachment.Please read and check all before making application.No time wasterss.

i will pay you 20 usd and deadline is one day.