Art of Problem Solving

2019 AMC 8 Problems/Problem 3