The problem can be solved using the Power of a Point, which states that:

.
Substituting
we have the equation

.
Expanding both sides we get,
Subtracting

from both sides, we have

.
Collecting x's and the numbers on two different sides, we have:
4x=8, which finally yields x=2.
Answer: x=2