For chords that intersect inside a circle, we have the intersecting chords theorem, which states that the product of both colinear segments are equal to the products of the intersecting colinear segments meaning that:
So 12*4=8*x
We just have to clear x from the equation to get the value of X: