6-0. Quadrilateral $A B C D$ is inscribed in a circle, and the areas of triangles $A B C$ and $A C D$ are equal. Three sides of the quadrilateral are 5, 8, and 10. Find all possible values of the length of the fourth side.