First convert to an improper fraction:
-5 2/7 = -37/7
-2 1/7 = -15/7
So now you have -37/7 / -15/7
When you divide with a fraction, you just flip the numerator and denominator of the divisor and multiply instead, so
-37/7 * -7/15 = 37/15 which would be in "improper" form.
To convert it to mixed number form it would be 2 7/15