Answer:
t=0.42s
Explanation:
Here you have an inelastic collision. By the conservation of the momentum you have:

m1: mass of the bullet
m2: wooden block mass
v1: velocity of the bullet
v2: velocity of the wooden block
v: velocity of bullet and wooden block after the collision.
By noticing that after the collision, both objects reach the same height from where the wooden block was dropped, you can assume that v is equal to the negative of v2. In other words:

Where you assumed that the negative direction is upward. By replacing and doing v2 the subject of the formula you get:

Now, with this information you can use the equation for the final speed of an accelerated motion and doing t the subject of the formula. IN other words:

hence, the time is t=0.42 s
Explanation:
Given that,
Mass of the car, m₁ = 1250 kg
Initial speed of the car, u₁ = 7.39 m/s
Mass of the truck, m₂ = 5380 kg
It is stationary, u₂ = 0
Final speed of the truck, v₂ = 2.3 m/s
Let v₁ is the final velocity of the car. Using the conservation of momentum as :



So, the final velocity of the car is 2.5 m/s but in opposite direction. Hence, this is the required solution.