## Constructing regular n-gons

I can't seem to even get the first question of this assignment in the following PDF file. (I'll do the rest on my own; it's sometimes better to learn it the hard way)

For this one, however, I seem to reach a dead end.
http://www.ualberta.ca/~sgraves/241/Assignment5.pdf

I know, for example, that I can construct a pq-gon given the p-gon and q-gon.

17 * 3 = 51, so I can construct a 51-gon.
I also know that 54 = 17*3 + 3*1.

Am I even close to the solution to constructing a 54-gon? Thanks in advance.