Это условное предложение третьего типа. В главной части используется Past Conditional (would have + V3).
Ответ: If she had listened to my directions, she would not have got lost.