She traveled through Europe for ten days with a friend.

Literal

She [topic-は] friend [with-と] Europe [to-に] ten-days [possessive-の] trip [object-を] did.

十日間の旅 ('a ten-day trip') uses 間 (かん) for duration. ヨーロッパに marks the destination. と marks the travel companion.