They heat the water to make the tea hot, then they put ice in it to make it cold, then they put lemon in it to make it sour, and then they put sugar in it to make it sweet. Go figure.
The sentence is from the dictionary. I vaguely understand the meaning which can be expressed differently depending on the situation. "Weird". I would like to know about the grammatical structure of this idiom. I think it's imperative with two infinitives but I still have doubts.