Final answer:
Ainhoa traveled 4 hours at 8 mph and 2 hours at 16 mph.
Step-by-step explanation:
Let's represent the time Ainhoa traveled at 8 mph as x hours. Since the total trip took 6 hours, the time she traveled at 16 mph can be represented as (6 - x) hours. We can use the formula: Time = Speed x Distance.
At 8 mph, Ainhoa traveled x hours. Therefore, the distance she traveled at 8 mph is 8x miles.
At 16 mph, Ainhoa traveled (6 - x) hours. Therefore, the distance she traveled at 16 mph is 16(6 - x) miles.
Since the distances traveled at both speeds are equal, we can set up the equation 8x = 16(6 - x) and solve for x.
8x = 96 - 16x
24x = 96
x = 4
Therefore, Ainhoa traveled 4 hours at 8 mph and (6 - 4) = 2 hours at 16 mph.
Learn more about Time and distance