Ответ:

Для условных предложений второго типа используется формула: if + Past Simple, затем would + инфинитив.

  1. had — форма Past Simple от have;
  2. would buy — форма would + buy.

If they had enough money, they would buy a house.

Ответ: If they had enough money, they would buy a house.