d=t₁u₁
d'=t₂u₂
x₁=v₁t₁
x₂=d-v₂t₁
x₁=x₂=>v₁t₁=d-v₂t₁<=>v₁t₁=t₁u₁-v₂t₁ |:t₁=>v₁=u₁-v₂ (1)
x₁'=v₁t₂
x₂'=d+v₂t₂
x₁'=x₂'=>v₁t₂=d+v₂t₂<=>v₁t₂=t₂u₂+v₂t₂ |:t₂=>v₁=u₂+v₂ (2)
Din (1) si (2)=>u₁-v₂=u₂+v₂<=>2v₂=u₁-u₂<=>v₂=(u₁-u₂)/2=(3-1)/2=2/2=1 m/s=>v₂=1 m/s
v₁=u₁-v₂=3-1=2 m/s=>v₁=2 m/s