right can anyone tell me the answer to this question:

A train travels along a track and its speed (in miles per hour) is given as s(t)=40t for the first half hour of travel. Its speed is equal and constant to s(t)=40/2 after the first half hour. Here time t is measured in hours. How far (in miles) does the train travel in the first hour of travel? Just give numerical value