She was accompanied by her mother.

Literal

She [topic-は] mother accompanied was.

同伴 ('accompanied by') is a formal Sino-Japanese compound. Conversational Japanese would more likely say 母親と一緒だった.