Answer:

Step-by-step explanation:
According to the conservation of linear momentum principle, the initial momentum
(before the collision) must be equal to the final momentum
(after the collision):
(1)
In addition, the initial momentum is:
(2)
Where:
is the mass of the comet
is the mass of the asteroid
is the velocity of the comet, which is positive
is the velocity of the asteroid, since it is at rest
And the final momentum is:
(3)
Where:
is the final velocity
Then :
(4)
Isolating
:
(5)

Finally:
This is the final velocity, which is also in the positive direction.