why not think about it and we'll give you clues.
Things expand when they get warm. We use the term Thermal expansion. research this for liquids, you might even peek at gases too.
So with that, you'll need to understand compressibility, can you say compressibility. We use bulk modulus sometimes to mean compressibility of liquids. look it up.
Now, mass balance. If we put a fixed mass in the container, it must always be there right? But when we heat it up, the mass expands, so same mas larger volume, what happens, I'll give you this equation
density = Mass/volume
so we can compress the liquid by adding pressure. see whats next.....