Not enough information given.
They'll never meet if both speeds are same
...unless they always leave from same spot
Note: missed "staying at same place"; apologies.
Two workers X and Y staying at the same place are working in the same factory. X takes 20 mins while Y takes 30 mins to reach the factory by the same road. One day, Y started at 7.10 am from his place and X started at 7.16am. At what time would they meet each other on their way?
To learn how to set up and solve this sort of "uniform rate" exercise, try here.
Then use the standard set-up, noting that "meeting" here actually means "passing". The rate for X, given that the distance from home to the factory is "d", is d/20 units per minute; the rate for Y is d/30 units per minute. Then:
. . . . .X:
. . . . .rate: d/20
. . . . .time: t
. . . . .distance: dt/20
. . . . .Y:
. . . . .rate: d/30
. . . . .time: t - 6)
. . . . .distance: d(t - 6)/30
Since they covered the same distance (from home to when X, having started later but moving faster, caught up to Y), set the two "distance" expressions equal. Since d does not equal zero (they do not live in the factory), you can divide through.
Solve the resulting linear equation.
suppose d is the distance they both travel, in metre for example.
then the speed of x,
and the speed of y,
both speeds are in metre per minutes
the difference in the speeds
=
=
=
By the time x started walking, y has already travelled a distance of:
m/min x 6min
= (metres)
therefore the time x needed to catch up y is divided by
=
= 12 minutes
Since x started walking at 7.16am, so they will meet at 7.28am