Well, there are guards everywhere around you.
Didn't the thing next to you promise to take care of them if you could free him?
Well, go do it. The security station is the fourth square to the left of Rex's cell. It doesn't have a force field on it.