A gas undergoes an isothermal process at a constant temperature of 300 K. During this process, the gas absorbs 1500 J of heat. Calculate the work done by the gas and the change in internal energy. Assume ideal behavior and use the appropriate thermodynamic equations.