The first one doesn't make sense but the second one is D, the third one is B. Number 4 is B and the last one A
Deutsch is mandatory, and so is Mathematic (Mathe for short).
A Wissenschaft (science), such as Physic, Biologie, or Chemie, is also mandatory.
At a Gymnasium, at least two foreign languages are required to graduate - Spanisch, Latein, Französisch.
Electives are subjects such as Kunst, Musik, and Informatik.
Hope this helps!
I think one goes with A since eine Stadt means to a city