A standard trick for finding the rational form of a repeated decimal:

Multiply by an appropriate power of 10 to move one "cycle" of the repeated pattern to the left side of the decimal point:

Now subtract

from this number and we lose the fractional part:

And from here you can solve for

.
