What is the question that you're asking?
Let the first digit of the 2-digit number be x and the second digit be y.
Then the ratio (x/y) equals (1/2). Write a formula for y in terms of x.
The tens digit is 2 more than the units digit. Using the letters x and y, write out the proper equation.
Now solve your two equations simultaneously for x and y.
For 6, you could divide 56 kilometers by 8 kilometers to get 7 kilometers. Multiply 7 by 5 to get 35. There would be 35 miles in 56 kilometers