Translation:What is your last name?
This is a little unrelated to this problem but I find that the words are easier to learn when I know what it means and sounds like before I start trying to learn sentences and match them. For example when you see a box in a character (ex. 吃 eat, 喝, drink) it'll sometimes mean it's related to your mouth (not always but most of the time 听 listen) or maybe I just learn better differently than others.
What do you mean by "given name"? Never mind, I looked it up and it means "first name". I just never use that expression. To me, I thought that I was given both a first name and a last name, but in reality, I guess, you are born with a last name and are given the first name. I thought that my dad gave me his last name, but I guess in this expression that it was my last name and that he didn't have a choice. Now though in the new world, people sometimes have their mother's last name or a combination of the two last names.
Surname is last name. If you ask "What is your name?" someone could give both first and last name, or last name, but as likely that person might just give a first name. I get it though, in English, we rarely specify unless they gave just a first name and now we want to know the last name too. In Chinese this is specifically the last name, so assume someone only gave you a first name, but you need to know the last name and this is what you would use.
There are two "xing4" words that are very similar.
姓 xìng family name; surname; to be surnamed
性 xìng nature; character; property; quality; attribute; sexuality; sex; gender; suffix forming adjective from verb; suffix forming noun from adjective, corresponding to -ness or -ity; essence
xing4, etymological character formation of 姓:
woman + life ==> one's family name; clan, people
xing4, etymological character formation of 性:
heart + life ==> nature, character, sex
Scroll up to oVoFeng's answer to LLB1964 above, this means "last name" while your version asks about the " first name".
I swear sometimes this means last name and sometimes it just means name