Solutions for two easy problems from sheet 2