Answer:
First exercise:

Second exercise:

Explanation:
According to the Intersecting Secants Theorem the products of the segments of two secants that intersect each other outside a circle, are equal.
Knowing this, in order to solve the first exercise and the second exercise, we can write the following expressions and solve for "x":
For the first exercise, we get:

For the second exercise, we get:
