Ответ:

a) breaking the law

b) obeying the law

People can be punished for breaking the law, but not for obeying it.