A car (mass 920 kg) drives up a hill (height 328 m) in 143 seconds. At the bottom of the hill, it has a speed of 24 m/s, but at the top, it has slowed down to 14 m/s. Neglecting friction, what is the average engine power?

I tried using 1/2mv^2 and it didn't work.