Here's the circle theorem that you need to solve this problem:
If a tangent and secant to a circle intersect at an outside point, the square of the measure of the tangent equals the product of the secant and its external segment.
Thus x2 = 8·4. I'll let you solve for x.