Thanks for the help, Lothor.
Another British person in another site said:
d to f are incorrect as you can't be ten years old throughout the three years! c is wrong. b is ok when you go on to say something in the simple past that happened afterwards. a is a simple statement. So only a and b are correct.
And an American person said:
On its own, only sentence (a) is correct.
Sentence (b) could be correct in the right context, but it can't stand by itself ("had lived" is used when you are contrasting two time periods, but there is only one in the sentence).
Sentences (d) and (e) are grammatically the same as (a) and (b), but they don't make sense because they imply that you were ten for three years.
Sentences (c) and (f) are not right because if you use "had been living", the other half of the sentence needs to be an event (for example, "I had been living in Tokyo for three years when the big earthquake hit").
What do you think?