Second law of thermodynamics in nonminimally coupled gravity. (30th December 2020)