Problem 1 is broken down into smaller parts.