Question: how to train your cat to avoid cars?
Answer: Have your cat neutered as soon as possible.
Don't allow your cat outdoors after dusk and only allow outside access during the day time. ... 
Use a reflective break away collar on your cat to help drivers see your cat.
Get your cat microchipped.