The length of a side of a triangle is 36. A line parallel to that side divides the triangle into two parts of equal area. Find the length of the segment determined by the points of intersection between the line and the other two sides of the triangle.