Assuming that in the last option 'whichever melody you create' is underlined, the correct answer is that one, the last sentence. Because this is the only sentence in which 'to' is used as a preposition, in 2 and 3 there are no prepositions, and in 1 'to' is a part of an infinitive phrase.
It's not likely you'll overdose on nicotine just from smoking cigarettes. Your body absorbs the nicotine in a cigarette around 1 milligram when you smoke it. Overdosing from nicotine gum or a patch is rare but it's possible if you don't follow the instructions carefully.