A glass square of side length $2$ is placed on a coordinate plane. The corner at $(-1,1)$ is marked blue. The corner at $(1,1)$ is marked red. We are allowed to reflect the square over the $x$-axis (a vertical flip) or reflect the square over the $y = x$ diagonal (a diagonal flip). What is the shortest sequence of moves (vertical and/or diagonal flips) which culminates with the glass square oriented so that the two colored corners switch places? (List the sequence of moves, and explain why you think it is the shortest).
I'm pretty sure that the shortest way is in three moves: over $y=x$, then over the $x$-axis, then again over $y=x$. But I'm not sure how to show that this is the shortest... Thank you in advance!