solved exercises in section 1.1.7