Chris walks at 8 km/h and runs at 12 km/h. One day he walks and runs on the way from his house to the library. It takes him 20 minutes. On his way back from the library he runs twice as far and the journey home takes 17 1/2 minutes. How far is his house from the library?
I've tried multiple formulas and they don't seem to work.
x = walking distance
y = running distance
8x + 12y = 20
And every time I solve it, I get the wrong answer. My book says it's 3 km but I don't know how to get there. Help would be appreciated!