Answer:
The initial velocity of spaceship P was u₁ = 5.06 m/s
Step-by-step explanation:
In an elastic collision between two bodies the expression for the final velocity of the second body is given as follows:

Here, subscript 1 is used for spaceship P and subscript 2 is used for spaceship T. In this equation:
V₂ = Final Speed of Spaceship T = 8.1 m/s
m₁ = mass of spaceship P = 4 M
m₂ = mass of spaceship T = M
u₁ = Initial Speed of Spaceship P = ?
u₂ = Initial Speed of Spaceship T = 0 m/s
Using these values in the given equation, we get:

8.1 m/s = (8 M/5 M)u₁
u₁ = (5/8)(8.1 m/s)
u₁ = 5.06 m/s