Transfer of Learning in Problem Solving in the Context of Mathematics and Physics