correct the error in simple past or past progressive tens.do not change the order of the sentence
Jeff was working on his homework when he rode the train.