Answer:
x = 6 
Step-by-step explanation:
Looking at the attached figure: 
As the triangle ABC is inscribed inside the circle and AB is the diameter of the circle => ABC is the right triangle
So that ∡ACB = 90°
As ACB is the right triangle, according to the Pythagoras theorem, we have the formula as following: 
     
=> 
=> BC = 12
As O is the center of the circle 
=> OA = 1/2 x AB = 1/2 x 20 = 10 
Inside the triangle ABC, as OD is parallel with BC 
=> AOD and ABC are similar triangles 
=> 
=> 
=> x = 1/2 x 12 = 6 
So x = 6