1) For the first time, I went back to China and was allowed the opportunity to see what type of environment I could have been raised into.
2) For the first time, I went back to China and was allowed the opportunity to see in what type of environment I could have been raised.
I initially had the first example and someone told me to change it to the second one. Any ideas?