Yes, the car is violating the 40 mi/hr speed limit.
Work Step by Step
1 mile/hr = 1.61 km/hr Thus, 40 mile/hr = 64.4 km/hr From above, speed limit in km/hr = 64.4 km/hr. Car is going at 65 km/hr. Since 65 km/hr $\gt$ 64.4 km/hr, The car is violating the speed limit.