The way you would restate the two sentences is:
1) The extent that influences how others think about you is...
and
2) It affects how you think about yourself because...
Alright, now to answer the question:
The extent that your name influences how others think about you really depends to be honest. Every name has a real meaning behind it; if you look up a name's definition, it can tell you what that person's name means, what kind of person they may be, etc. But those are never really true, because you can't judge a person by their name. You need to get to know them first and recognize what kind of person they are before you determine what to think about them. Because it's what's on the inside that counts, not the outside. Your name affects how you think about yourself in many different ways, of course it is different for every person. For example, if someone likes their name and believes it suits them well, then they'll be positive about themselves. However, if someone dislikes their name and doesn't think it suits their personality, then they'll be negative towards it for a while until they can get used to it, therefore making them act negatively about themselves.
I hope I answered the question well and helped you! :)