If I had taken a map, I would have lost my way.
This sentence is a type 3 conditional. The structure is: If + past perfect, would have + past participle.