got it thnxwell its not necessary fr the line to pass from the origin u can simply start the line from the first given co ordinates and if it wants the value of something then u can extend it in the pattern of the line....actually m not really good at explaining