Answer:
[tex]v_{A} -v_{B}=v_{AB}\\v_{AB} =0.9c-0.5c\\v_{AB}=0.4c[/tex]
Explanation:
Because the spaceships are traveling in the same direction, you should subtract the speed of spaceship A from the speed of spaceship B in order to calculate [tex]v_{AB}[/tex].