You see now, don't you? You have to study a foreign language.

Literal

Understood right. Foreign-language [object-を] study must.

分かったでしょう uses でしょう to seek confirmation: 'you understand now, right?' The second sentence states the conclusion: ~なければいけません (must). A teacher-to-student tone.