In a heat engine, if 700 J of heat enters the system, and the piston does 400 J of work, what is the final internal (thermal) energy of the system if the initial energy is 1,200 J?

1,100 J

1,500 J

900 J

300 J