Continued Fractions

Determine the value of a fraction that continually repeats itself.


Extension:

Find all values of x which makes this statement true: