During an isothermal expansion, a confined ideal gas does 150J of work against its surroundings. This implies that:
150 J of heat has been removed from the gas
300 J of heat has been added to the gas
No heat is transferred because the process is isothermal
150 J of heat has been added to the gas
in isothermal process ∆U=0 so Q=W=150J