Given the binary operation \( \star \) defined by \( a \star b = a^2 + b^2 - 2ab \), evaluate the expression \( 3 \star (2 \star 1) \). Let's think step by step and output the final answer within \boxed{}.
user