I've been having trouble trying to set this problem up Any help would be great.

One machine labels 250 packages in ten minutes and a second machine labels the same number of packages in eight minutes. How long will it take the two machines working simultaneously to label 250 packages?