I am completely stuck at the question
Let $G$ be a finite group and let $x$ and $y$ be distinct elements of order 2 in $G$ that generate $G$. Prove that $G \cong D_{2n}$, where $n = |xy|.$
I have proved that
Let $x$ and $y$ be elements of order 2 in any group $G$. If $t = xy$ then $tx = xt^{-1}$.
Can I get some hints?
Hint: Take the homomorphism that sends $xy$ to a rotation, and $y$ to a reflection. Show that this homomorphism is an isomorphism.