While I think I understand what you did, I'm not quite certain I understand why you did what you did.
Now, as granpa said, there are two ways to look at this. We can either view the problem with the light speed being c relative to us, or make the calculations accordingly with the light going...