cooling of an ideal gas

can you derive the dependence of the adiabatic sound speed of an ideal gas as a function of scale factor \(a(t)\)?