How would you go about constructing a line that is squar root of two times a given line segment? How about square root of three times or even say, square root of n times (for any integer value of n) a given line segment?

Well, the basic approach is using the Pythagoras theorem. Click here to see a GSP construction.