Note:-
Since you asked multiple questions, according to our policy we can answer only first question for you Please repost other questions again
The given function is
Step by stepSolved in 4 steps with 6 images