I'm certainly no pro but, as far as my (very) limited photographic experience has taught me, to get a photo like that, you have to use a slow shutter speed and pan when the car passes you (attempting to keep the car in the same position in the viewfinder as much as possible).
If you have the possibility of several "takes", I would experiment with several different shutter speeds - none of them "too" fast though!! :-)
I'm sure that others will add more technical suggestions to my humble thoughts here and I, like you, will be learning from them too!!!!