The square of distance between the point of intersection of the lines represented by the equation ax2+2hxy+by2+2gx+2fy+c=0 and origin, is