Question two: Step by step solution