Spaceship A moves away from spaceship B. From spacecraft A, a light signal is sent, which is reflected from the mirror

Spaceship A moves away from spaceship B. From spacecraft A, a light signal is sent, which is reflected from the mirror mounted on ship B, and returns to the observer on ship A.
a) At what speed does light move from A to B in the frame of reference associated with the ship A? In the frame of reference associated with the ship at?
b) At what speed does light move from B to A in the frame of reference associated with the ship A? In the frame of reference associated with ship B?

a) The speed of light does not depend on the speed of the source and the speed of the receiver, it is the same in all inertial reference systems, therefore, the speed of light in both cases is equal to c.
b) The speed of light does not depend on the speed of the source and the speed of the receiver, it is the same in all inertial reference systems, so the speed of light in both cases is equal to c.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.