So the number you are looking for is between 10000 and 100000 written like this more formally
10000 ≤ x ≤ 100000
Now you move on to 7. How do you write were the 7 is? It's in the one's place. You don't anything else that's new so its
10007
Next you are told that one of the numbers making up the number you want is in the tens place (as in forty).
10007
. . . 40 Add
10047
Now we move on to the two remaining places. "This" is one of the most horrible words in the English Language. I suppose they mean that the hundred's place is 40*10 = 400.
10047
. .400 Add
10447 is what you get now.
The digit in the thousands place is 2 more than what is in the hundred's place. 4 + 2 = 6
So what we know now is that we have 16447
Finally we are told that there is a 2 someplace and we haven't used it. So it must be where the 1 is.
26447 That's your final answer.