When your king is right next to the rook, then you move your king as if you are trying to capture your own rook. It will read it as castling, assuming that you have castling rights. The pieces will land on their original castling squares just like in regular chess.
This is my first game of 960, so I was just wondering how one would castle in this position. Thanks!