The soldiers erected a peace memorial.

Literal

Soldiers [topic-は] peace-memorial [object-を] built.

平和記念碑 is a long Sino-Japanese compound: 平和 (peace) + 記念 (commemoration) + 碑 (stone monument). Japanese stacks kanji characters to form compound nouns much like German compounds.