Question 2,3

I need this two solutions posted before deadline, please be sure that you posted on time, thank you so much.