solutions to Practice #2-1.pdf