You might not have encountered an example similar to this before, and because of this, you could not apply your crystallized intelligence (which includes all that you have learned till now) here. You had to think out of the box, and you applied your fluid intelligence, and finally you arrived at the answer.