Solutions chs 1-5