def cotxes(v1, v2, x, t):
    v1 = v1 / 3.6
    v2 = v2 / 3.6
    segons = (x-v2*t)/(v1-v2)
    return segons
