Complete Section 5.6 exercises