A 100 watt solar panel, producing the full 100 watts, would take 80 hours of perfect sunlight to produce enough power for an extra 40 miles of range.
Assuming best case (unrealistic) conditions, if you get 8 hours of perfect sunlight in day, and your solar panels produce 100% of their rating for all 8 hours, it would take 1000 Watts worth of solar panels to produce that extra 40 miles of distance over 8 hours. It seems kind of unrealistic to fit 1000 Watts of solar on top of a car. And that's an absolute minimum, under best case conditions.
If you had, say, maybe a more realistic 300 watts worth of panels on top, and they got 4 hours of full sunglight, you'd be producing an extra ((300W * 4h) / 200Wh/mile) = 6 miles. And that's still assuming best case condition for power consumption per mile.
[Edit] - And like the other commenter stated, those few extra miles get cut down when you consider the weight of hundreds of watts of solar panels added onto the vehicle.