Answers for the first 3 questions done