Change to Ch 3 Problem 6 main