Original: It lies on the shore of the Szczecin Lagoon, very close to the border with Germany.
Simplified: The town is located on the Szczecin Lagoon, at the border with Germany.