Exact representations for acoustical waves when the sound speed vries in space and time