Wrote question 3 query