With inelastic collisions, if you have both initial speeds, you really only need conservation of momentum to solve for the final speed.
However, with collisions where they don't stick together, if you're given initial speeds but none of the final speeds then you need both conservation of moment and conservation of energy.
The above type of question you posed might work in the following ways:
"A car with a mass of 500kg collides with a truck of mass of 1500kg. The car has a velocity of 30m/s to the right, before the collision. The truck has a velocity of 25m/s to the left, before the collision. 30% of the total kinetic energy, before the collision, is transferred into heat/sound, etc. If the car and truck don't stick together after the collision and continue moving together, find the final velocities of each vehicle."
"A car with a mass of 500kg collides with a truck of mass of 1500kg. The car has a velocity of 30m/s to the right, before the collision. The truck has a velocity of u m/s to the left, before the collision. 30% of the total kinetic energy, before the collision, is transferred into heat/sound, etc. If the car and truck stick together after the collision and continue moving together, find the velocity v that they move with, and the initial velocity of the truck, u."
"A car with a mass of 500kg collides with a truck of mass of 1500kg. The car has a velocity of 30m/s to the right, before the collision. The truck has a velocity of 25m/s to the left, before the collision. If the car and truck stick together after the collision and continue moving together, find the velocity that they move with, and find the energy kinetic energy lost."