you can draw with just one line. start from one corner, then draw a square using a pen. without lifting up the pen, end at the point u start. There you have it, a square drawn with 1 line. For 3 lines. just draw 2 side with 2 line and the last two side use 1 line.
1 5 1