Yeah it sounds confusing. I'm not a professional teacher but the second one sounds a bit off for me. In that context, you can think たら is "if" and とき is "when", so two conversations can be translated in into:
1. Parents said "if you think about your future..."
2. Parents said "when you think about your future..."