Your syntax does not match theirs. Copy theirs and then change the various names and see how it goes. If you still don't get it, post that effort here.
Glad it worked for you. By the way, it seems odd to look up a last name based on a first name, if that's what you're doing. The chance of duplicate first names is pretty high, generally speaking.