Art of Problem Solving

2021 AMC 10B Problems/Problem 17