Solved first 4 questions