One way to derive Equation 19.3 depends on the observation that at constant $T$ the number of ways, $W,$ of arranging $m$ ideal-gas particles in a volume $V$ is proportional to the volume raised to the $m$ power:
$$
W \propto V^{m}
$$
Use this relationship and Boltzmann's relationship between entropy and number of arrangements (Equation 19.5) to derive the equation for the entropy change for the isothermal expansion or compression of $n$ moles of an ideal gas.