The average degree of freedom per molecule of a gas is 6. The gas performs 25 J of work while expanding at constant pressure. The heat absorbed by the gas is:

a) 19 J
b) 25 J
c) 31 J
d) 37 J