When two bodies move toward each other with constant speeds the distance between them decreases at the rate of 6m / sec. If they move in the same direction the distance between them increases at the rate of 4m/sec. Then…