Solution to Q1