A resistor develops \( 300 \, \text{J} \) of thermal energy in \( 15 \, \text{s} \), when a current of \( 2 \, \text{A} \) is passed through it. If the current increases to \( 3 \, \text{A} \), the energy developed in \( 10 \, \text{s} \) is __________ \( \text{J} \).