solution to 2a