Multi-choice problem: does word "rack" have the same meaning in the following two sentences?

Rack one's brains.

Rack a camera.

Pick your answer from:
1). different meanings
2). the same meaning
1).