Question: how to train dog not to lunge at cars?
Answer: Sit together watching the traffic going by, while rewarding calm behaviour with a few treats, a toy or a game. If your dog reacts, you are still too close. Go to places where large vehicles are parked, and walk by at a sufficient distance that your dog doesn't react, and reward as before.