Cognitive Backgrounds of Problem Solving: A Comparison of Open-Ended vs. Closed Mathematics Problems.