Breakdown of Ef við hefðum tekið betra kort, hefðum við ekki villst á stígnum.
Questions & Answers about Ef við hefðum tekið betra kort, hefðum við ekki villst á stígnum.
They are past perfect subjunctive forms.
This sentence describes an unreal past situation: something that did not happen, and its imagined result.
- hefðum tekið = would have taken / had taken
- hefðum villst = would have gotten lost / had gotten lost
In Icelandic, counterfactual if-sentences like this commonly use the subjunctive in both parts.