Rotation 90° translates (x, y) to (-y, x). Thus (3, 2) gets translated to (-2, 3). Your green box gets filled with -2.
6.5m questions
8.7m answers