added solutions to 3B