Answer and Explanation:
with reference to Einstein's theory of special relativity, the speed of an electromagnetic radiation, here, laser will not change in any inertial frame or remains same irrespective of any change in inertial frame.
Therefore, the speed of light measured in both the cases, i.e., in astronaut's reference frame and spaceship's reference frame will be equal to the speed of light in vacuum, i.e., [tex]3\times 10^{8} m/s[/tex].
The laser gun's speed in astronaut's reference frame is the same as the speed of the spaceship as it mounted on it, i.e., the speed of the laser gun is 200 million m/s.
The laser gun's speed measured in spaceship's reference frame will be zero, as it is mounted on the spaceship and is stationary in the spaceship's reference frame.