For this case we propose a system of equations:
x: Let the variable representing the number of miles Asanji ran
y: Let the variable representing the number of miles Kathryn ran
According to the statement data we have:

Substituting the second equation into the first we have:

So, we have Karhryn ran 38 miles.
Answer:
Karhryn ran 38 miles.