Foundations of Analytical Thinking and Structured Problem Solving