Let me go over it from the start, comparing it to my own code which works as intended.
First: you don't need var within the for loop; you can just type
for (i = 0; etc).
Second: i+=1 isn't incorrect, but you can make it shorter by typing i++ instead. It still increments i by 1, it's just shorter
Third: in your second for loop, you now have
i < myName.length
Try making this
j < i+myName.length
and after that instead of i+=i, make it j++.
You have a new for loop here and you're working with a new variable (j); you don't want to be incrementing i here, since you already do that in the first loop in order to find all the T's in the text. This second loop is for finding everything after the T until the length of your name has been reached.
Fourth: your hits.push(text[i]) is good, but switch out i for j. That way you're having it push all the letters instead of just the T!
Hope that helps