When Gorix escaped from Dr. Sloth's ship, his ship started at rest. Gorix immediately set his thrusters to full power, and his ship's acceleration increased by 2 m/s2 every second for 15 seconds. At that point, the ship remained at constant acceleration for another 30 seconds, after which the thrusters powered off, effectively setting his acceleration to zero. Disregarding any other forces acting on the ship, how far did Gorix's ship travel after one minute?

a=2m/s^2 for 15s
then a=0 for another 30 s

For the first 15s would v=at
=(2m/s^2)(15s)=15m/s
how would I solve for d?
I also don't get how I would do the other half of the problem so that I know the distance after one minute.