I analyzed the board and found that the opponent (X) has three pieces in a diagonal: at (2,3), (3,4) and (5,6), leaving (4,5) open. If we leave column 5 open, o1 can drop an X there next turn to complete a diagonal win. Thus, my best move is to block this threat by placing O in column 5.