Original: To the east was Poland, and to the south the Czech Republic.
Simplified: It is on the borders of Germany and Poland (to the east) and the Czech Republic (to the south).