Breakdown of Hacía años que la médica daba por resuelto el misterio.
la médica
the doctor
el año
the year
que
that (relative pronoun, conjunction)
hacer
ago, for (time elapsed)
Elon.io is an online learning platform
We have an entire course teaching Spanish (Spain) grammar and vocabulary.