solved problems 40 and 41