A piece of substance Z is heated directly and it is found that 5805 Joules of energy are needed to raise the temperature of the substance from 25.0C to 35.0C. The specific heat of substance Z is known to be 1.28 J/gc. What was the mass in grams of this piece of substance Z?