Solved 2a, 2c and 2d