You've got it right. In your example, "William" is the first name, and "Smith" is the last name. The first name is sometimes called the "given name" (because your parents choose this name and give it to you). The last name is also called the "surname" or the "family name." Even on formal documents, however, you will usually see the words "first name" and "last name."