The average degree of freedom per molecule for a gas is 6. The gas performs 25 J of work when it expands at constant pressure. The heat absorbed by the gas is

A. 150 J
B. 75 J
C. 100 J
D. 125 J