I've started by looking at how you can draw a line from an origin pointing in a given direction. Don't be put off by the amound of code, I've just added loads of debug graphics which are added to the screen so you can see how I'm building up the picture. Let me know if this helps you get started.