I am a student and due to school closures I am reading ahead in physics. I have been learning about relativity and I made up a problem for myself. You can see a diagram that I drew below:
The diagram shows car X travelling at $0.7c$ with respect to car B and $0.5c$ with respect to car A. Car A is travelling at $0.2c $ with respect to car B, where $c$ is the speed of light.
This means, using Lorentz transform, 1 year on car X is equivalent to:
$$ \frac{1}{\sqrt{1-0.5^2}}=1.15 $$
1.15 years on car A.
And 1 year on car X is equivalent to:
$$ \frac{1}{\sqrt{1-0.7^2}}=1.40 $$
1.40 years on car B.
This means that 1.15 years on car A should be the same as 1.40 years on car B.
So if we were to use the Lorentz transform we should get the same answer but instead we get:
$$ \frac{1.15}{\sqrt{1-0.2^2}}=1.17 $$
We get 1.17 years on car B is the same as 1.15 years on car A. I don't understand what I have done wrong. Could you help me why this problem arises?
It is also worth noting that if I was to use a different method it would work. If I was to convert the time for car X into the time for car A then convert the time for car A into the time for car B, it would work. But I don't understand why this method works. In fact, I believe that method shouldn't work. This is because car X will be moving at 0.7c with respects to B still so 1 years on car X should be the same as 1.40 years on car B.
Could you help me with this?