In order to calculate the time needed, let's use the formula below:
[tex]P=\frac{E}{t}[/tex]Where P is the power in Watts, E is the energy/work in Joules and t is the time in seconds.
First, let's convert the energy from kJ to J (1 kJ = 1000 J):
[tex]300\text{ kJ}=300000\text{ J}[/tex]So, for P = 400, we have:
[tex]\begin{gathered} 400=\frac{300000}{t} \\ t=\frac{300000}{400} \\ t=750\text{ s} \end{gathered}[/tex]Therefore the time needed is 750 seconds.