When two objects are moving along a straight line in the same direction, the distance between them increases by 6 m in one second. If the objects move with their constant speed towards each other, the distance decreases by 8 m in one second. Then the speed of the objects are: