solution 1_5 and 1_6