Speedometer problems in legacy

I have one last question for you all. It is in the same legacy as my last post. The speedometer used to work intermittently, but now hardly works at all. I cannot find a cable going to the transmission like most vehicles. Maybe a loose connection? Or a bad gear? I would greatly appreciate any info on the subject before I tear into it. Thanks.

Sorry I am an idiot I did not think my last post went through.