Maybe it's best to start over. Let's do some very simple calculations and go over some basic concepts and see what happens. A new start for clarity?
So, when we say a star is 4 light years from Earth, we generally are using the distance as measured from Earth. When we say a process on that star takes 10 years, we are using clocks on Earth to make that measurement (taking into account things light the time it takes for light to get from the star to us---4 years). Because the measurements are made from the earth, we say they are the values in the reference frame of the earth.
So, if light stars from a star, planet, whatever that is 4 light years from earth, then that light will take 4 years to reach the earth. All of these distances and times are measured in the frame of the earth. This is dist/time=speed.
Now, suppose that a spaceship (let's call it spaceship A for convenience) goes past earth on the way to that star. That spaceship is moving at 50% of c. How long does it take that spaceship to reach that star according to measurements on the earth? Well, in this case, dist=4ly and speed = .5c and so time = dist/speed = 4/.5 = 8 years.
Now, another spaceship also goes past earth on the way to that same star. it is going past earth at the rate of 90% of c. How long does it take for that spaceship to reach that star according to measurements on earth? Well, again, we do time = dist/speed and find time = 4/.9 = 4.44 years.
-----------------------------------------------------
Now suppose there is a different star. Star B is currently 4ly from earth, but is moving towards the earth at 50% of c. How long does it take for that star to reach the earth (according to measurements from the earth)? Well, once again, time = dist/speed, so time = 4ly/.5c = 8 years.
Next, suppose that a spacecraft is going past earth to star B and is going at 80% of c. How long does it take that spacecraft to reach star B? now, we have to combine the speed of the star and the speed of the spacecraft. So, the speed used in the time calculation is .5c+.8c = 1.3c. So the time it takes for that spaceship to reach the star is now time = dist/speed = 4ly/1.3c = 3.08 years.
Finally, suppose that the earth sends a light signal to star B. How long does it take the light to reach star B? Once again, the speed of star B needs to be combined with the speed of light in the time calculation. The speed used is going to be .5c + 1c = 1.5c. So now, the time it takes for the light to reach the star is going to be 4ly/1.5c = 2.67 years.
Before I go on, I want to make sure you have these examples and understand them.
Please let me know if you agree so far.