@futurebird Ah, this is so much of my teaching life!
I think the answer to your question is “lots of practice.” Specifically, practice in the context of problems that have enough flexibility, open-endedness, and self-direction to be investigatory tasks (as opposed to contrived problems that •will• have a correct answer). Ain’t no substitute.
1/