Playing at middle-right (1,2) is optimal because it creates two potential winning paths: a diagonal line from top-left through middle-right, and a middle row possibility. It also blocks the opponent from creating a right column threat. This forces the opponent to block one of my winning paths on their next turn, giving me strategic advantage.