The second conditional has two parts (or clauses). We usually make the second
conditional like this:
If clause = if + past simple + comma
Main clause = would/wouldn’t + main verb
If I lived in town, I’d go to the cinema more often.
If he was nicer, more people would talk to him.
We can change the order of the two clauses if we want to. When we put the if clause first, we write a comma (,) after it. If we put the main clause first, there is no comma.
I would go to the cinema more often if I lived in town.