I'll place my X in the bottom-right corner at position 2,2. This creates a diagonal line from the top-left (where I already have an X), through the center (where I also have an X), to the bottom-right. This gives me three Xs in a diagonal line, winning the game immediately. This is the optimal move as it secures the win in a single move without giving my opponent any chance to block.