solve some 3-chapter problems