I found a topic about that: How to discuss your graduation?
However, I can not find true options for Bachelor and Master.
I saw using "Grund- und Hauptstudium" for undergraduation and graduation.
I want to say:
I had to focus on English at the Bachelor and Master.
Ich musste mich auf Englisch in ---- und ---- konzentrieren.