If you have written down a full paper of mathematical
formulas, you haven't been thinking in the right direction. It is obvious that the two cars meet each other after one hour.
On that moment, the bird has flown for one hour.
Conclusion: The bird has flown 80 km/h × 1 h = 80 km.