1 If they had dealt with the matter properly in the first place, they would not have had a lot of problems.
2 If my current salary were as high as yours, I could afford to rent this flat.
3 If Sara had gone to Spain last summer, she would have had a chance to brush up her Spanish.
4 Your neighbour wouldn't have cut down another apple tree near your house if you had taken your neighbour to court a long time ago.
5 Unless you have an excellent command of English, you won't get this job.
6 If my brother won enough money in a lottery, he would go on a round-the-world trip.