How does a substance's density react to changes in temperature and pressure?

The answer to that is probably right in your text book.