write the following number as ratios of integers

We're going to "cut" the repeating part here in a few steps. First, we're going to put the number in a variable:
[tex] x=-2.0\overline{42} [/tex]
Next, to get rid of the negative, we can multiply either side by -1 to get
[tex] -x=2.0\overline{42} [/tex]
Now, we won't actually use this -x directly; instead, we want to create two new values, one by multiplying either side by 10:
[tex] -10x=20.\overline{42} [/tex]
and the other by multiplying either side by 1000:
[tex] -1000x=2042.\overline{42} [/tex]
Next, we can get rid of the repeated part of the number by subtracting -10x from -1000x:
[tex] -1000x-(-10x)=2042.\overline{42}-20.\overline{42}\\
-1000x+10x=2022\\
-990x=2022 [/tex]
And finally, we can divide either side of the equation by -990 to find that
[tex] x= \frac{2022}{-990}=-\frac{2022}{990}\div \frac{6}{6}=-\frac{337}{165} [/tex]