The slope equations: A universal relationship between local structure and glass transition temperature