Text this: Topological Properties of Degree-Based Invariants via M-Polynomial Approach