Velocity and changing acceleration help

Question description

I have a question from my homework that i need a little help with. A space ship is going 1000 km/hr in space and is accelerating  at 25km/hr^2 . The ship begins to decelerate and its acceleration hits 0 km/hr^2 after 30s. How fast is the ship going now?Could someone explain how to do this? I know the ship is still moving.