Structure of Conditional Sentences

The structure of most conditionals is very simple. There are two basic possibilities.

Of course, we add many words and can use various tenses, but the basic structure is usually like this:

if condition result
if y = 10 2y = 20

or like this:

result if condition
2y = 20 if y = 10

This structure can produce, for example, the following sentences:

Notice the comma in the first sentence. (A comma is always correct in this case, but not always essential if the sentence is short.) In the second sentence we do not normally use a comma.