Solution to ch1 ex 7