I'd go with your third option, 6.
Half the diameter (the radius, also the hypotenuse for the right triangle) is 10 units.
Half of the chord given by that blue line segment is 8 units. Now we do the Pythagorean Theorem (a² + b² = c²) to find the length of x.
x² + 8² = 10²
x² + 64 = 100
x² = 36
√x² = √36
x = 6