Practice Problem 2 and Solutions