Breakdown of Wenn ich im Großraumbüro arbeite, setze ich Kopfhörer auf.
Questions & Answers about Wenn ich im Großraumbüro arbeite, setze ich Kopfhörer auf.
Because the first part is a subordinate clause introduced by wenn. In German, subordinate clauses are separated from the main clause by a comma:
Wenn ich im Großraumbüro arbeite, (subordinate clause)
setze ich Kopfhörer auf. (main clause)
German main clauses follow the V2 rule: the conjugated verb must be in position 2.
Since the subordinate clause Wenn ich im Großraumbüro arbeite takes position 1 of the whole sentence, the main clause must start with the verb to keep it second:
Position 1: Wenn ich im Großraumbüro arbeite,
Position 2 (main clause verb): setze
Then the subject follows: ich
It can mean either, depending on context. In sentences like this, it often means whenever/when(ever) (a repeated situation):
Wenn ich … arbeite, … = Whenever I work …, I …
If you meant a one-time past event, German would often use als instead of wenn.