Suppose two people start at points $A,B$ and move towards each other. The first time they meet is $60$ meters away from $A$ and the second time they meet is $75$ meters away from $B$. What's the distance between $A$ and $B$?
I think I'm missing something very simple here, but I don't know what...
Hint: Let $x_A(t)$ be the distance that the person starting at $A$ has walked after time $t$. Let $v_A$ be his speed. Similarly with $B$. They meet at $t=t_1$. Here we have $$x_A=v_At_1=60 \quad \text{and} \quad x_B(t_1)=v_Bt_1=|AB|-60.$$
Try writing down the equations for the second encounter. If it is still causing you trouble, let me know.