I'm learning about rational functions, and encountered this word problem:
A helicopter flies from Vancouver to Calgary a distance of 677km with a tailwind. On the return trip the helicopter was 40km/h slower. The total flying time for both flights was 6.5 hours. How fast was the helicopter flying to Calgary? Round the answer to the nearest hundredth.
Without looking, I tried:
$$\text{Total distance} / \text{Avg speed} = \text{Total time,}$$
$$\frac{1354}{s-20} = 6.5.$$
Which gives $(228.31 , 0)$ and looks more or less correct.
But the given solution is modeled as:
$$\text{Time with tailwind} + \text{Time with headwind} = \text{Total time}$$
$$\frac{677}{s} + \frac{677}{s-40} = 6.5.$$
Giving $(230.21,0)$.
I can tell at a glance that the given formulation is more precise and thus more likely to be correct. But as far as I can tell, what I came up with should work too. Where did I go wrong?