Text this: Topological Indices of Total Graph and Zero Divisor Graph of Commutative Ring: A Polynomial Approach