This is an inelastic collision and momentum is conserved.find the P of both the objects before collision.For the car it is=0( at rest)For the truck=800x40=32000kg.km/hrThe total before collision=32000kg.km/hrSince it is an inelastic collision, they are stuck after and so you add the masses. Aftr collision, the mass=1000kg. We are looking for the velocity , which we =vSo the P after collision=1000.vP before=Pafter1000xV=32000 solving for V=32 km/hrthe speed is 32km/hr