How does the geometry for constructing a declining vertical sundial work?
You might find the following useful; scroll down to "Vertical Declining Sundial".

http://www.walkingshadow.info/Publications/Scratch.pdf