The solution became immediately obvious to me after reading your comment. This leads me to believe that the question isn’t testing for math ability nor intelligence. It just requires you to realize the trick. Maybe it tests for creativity / lateral thinking ability?