solve-my-homework-1

All requirements as attached

I already answered 2 questions please correct them if needed and complete the other 2 questions