Art of Problem Solving

2022 AMC 8 Problems/Problem 20