If you're talking about a specific chemical nomenclature, gasoline is a mixture of different hydrocarbon compounds, so there isn't one specific chemical name for it. Petroleum is the general name for a group of products that includes gasoline. As for nitrates, that's a whole category of compounds (if I remember my junior-year chem class correctly), not a specific chemical, so again, there isn't one specific name that I could think of. I do know that they'd all share the ionic group -N03. Unless I've gotten really rusty, the questions you were given don't make much sense the way they are written.