Text this: Molecular Descriptors on Line Graphs of Cactus Chains and Rooted Products Graphs