Power is the rate of work done or produced by a system. It will have units of Watts which is equivalent to Joules per second. To determine the work or energy produced by the system, we multiply power with time. We do as follows:
Energy = Power x time
Energy = 1500 J/s (2.0 hr) (3600 s / 1 hr)
Energy = 10800000 J