Two trucks collide together and having two mass and two velocity, How can I calculate the direction of velocity two trucks after impact?

I would start with the conservation of momentum.