Let H = distance Hiro walked

4H - 10 = distance Rajesh walked

H + 4H - 10 = 25

5H - 10 = 25

5H = 35

Hiro walked 7 km so Rajesh walked 4(7) - 10 = <<7*4-10=18>>18 km

Rajesh walked <<18=18>>18 kilometers.

# Answer

18
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Rajesh walked 10 kilometers less than 4 times the distance that Hiro walked. Together they walked 25 kilometers. How many kilometers did Rajesh walk?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
18
Rajesh walked 10 kilometers less than 4 times the distance that Hiro walked. Together they walked 25 kilometers. How many kilometers did Rajesh walk?
train