hi,
the second piece of code is used to inject the info outputted from the form into the constructed email. You simply add the code to whichever field you think is relevant.
e.g. I have the following in my mail "From:" field
[first-name] [last-name] <[email]>
and this in my "Message body:" field
From: [title] [first-name] [last-name]
Phone: [phone]
Email: [email]
Interested In:
[checkbox]
Message:
[message]