A right angled isosceles triangle is inscribed in the circle x2+y2−4x−2y−4=0 then length of the side of the triangle is