alright. ill attach my solutions.
IM not entirely sure if my method is right, but id just like to
post it.
Btw, this is Uni maths. Was at Uni Sydney school of maths for a
lecture, and I had a 2 hour free break. So i joined in a lecture to
pass my time. Didnt get much info, but this was one of the topics
which was being discussed. Btw, im not a uni student.
Ok, if u cant really see the writing, ive uploaded it here:
solution
http://www.megaupload.com/?d=ZBGIVIQ5

if you find the img too big to view, click on it then press:
Ctrl and - to zoom out. :D