I understand that any finite subgroup of O(2) must be isomorphic to either $D_n$ or $C_n$, (I also understand the proof of that fact.). However, I'm having trouble proving the following proposition, which is to find two matrices, say $A$ and $B$ such that every element of $G$, a subgroup of O(2) isomorphic to $D_n$, can be expressed as a product of $A$'s and $B$'s. I tried looking at the kernel of the morphism det:$G \rightarrow [{1,-1}]$, which is a normal subgroup of index 1 or 2, but I wasn't able to progress further.
What is the right path for this problem? Is there any new concepts that I need to know to solve this problem?
By definition the question is asking for generators of the isomorphic copy of $D_n$ in $O(2)$.
Hint The usual generators for $D_n$ are $r, s$, satisfying $r^n = s^2 = 1$, $s r = r^{n - 1} s$. So, if we had an map $\phi : D_n \to O(2)$ that is an isomorphism to its image, we could declare $A := \phi(r)$: Then, since $r, s$ generate $D_n$, $A, B$ generate $\phi(D_n)$.
All elements in the nonidentity component $O(2) \setminus SO(2)$ have order $2$, so if $n > 2$, $\phi(r)$ must be in $SO(2)$, which we can identify with the unit circle group $S^1 \cong SO(2)$. Since $r$ has order $n$, so does $A = \phi(r)$.