math algebra
posted by angela .
A student walks and jogs to college each day. She averages 5km/h walking and 9km/h jogging. The distance from home to college is 8km and she makes the trip in 1 hour. How far does the student jog.
To set up the equation I got:
5(x)+9(8x)=8
5x+729x=8
4x=64
x=16
but this gives me a negative number for the walking.
WHAT IS THE CORRECT WAY TO SET UP AND SOLVE THE EQUATION?

You x is TIME, not distance
5(x) + 9 (1x) = 8
5 x + 9 9 x = 8
 4x =  1
x = 1/4 or 15 minutes walking
3/4 hour jogging
3/4 * 9 = 27/4 = 6.75 km jogging 
OOOH! I see, thanks for the help!

i need help with my homewok please help out and is hard that why i am asking help.

Post your question separately, not as part of this question. Click on the link at the top labeled "Post a new question"