Art of Problem Solving

2013 AMC 12B Problems/Problem 22