area under the Speed-Time graph shows the distance traveled by an object.So Rocket P travels further than rocket Q.