Suppose that $G_1$ and $G_2$ are finite groups and $\beta: G_1\to G_2$ is an isomorphism. If $x_2 = \beta(x_1)$ for a given element $x_1 \in G_1$, prove that $x_1$ and $x_2$ have the same order.
I think I should use induction but I am not sure how could I prove it?