as per the rules we are supposed to answer only the first question and rest can be reposted.
Step by stepSolved in 2 steps