Complete Section 3.5 exercises