Both lnaguages were once spoken in eastern asia, to the northwest of China. Chinese records of the time mention this group of nomidc barbarians.
The Tocharians languages are a major geographic exception all other Indo-European groups. They are the only group that spread directly east from the Indo-European starting point in southern Russia.