We use the conditional type 2 when we want talk about event that are not true: events that couldn’t happen in the present or the future.
It’s form is:
If + Subject + Verb(simple past) ,+ Subject + Would + verb
The sentence is composed of two parts: Conditional clause & Main clause.
the conditional clause is formed by IF+Simple past, and the main clause is formed by WOULD+INFINITIVE.
It’s not obligatory that the conditional clause be the first, the main clause can be the first, in this case no need to the comma wich separate the two clauses.
|If I worked hard, I would pass the test.
|If you woke up early, you would not miss the train.
|He would be happy if he accepted my gift.
|If I had wings, I would fly high in the sky.