If the sale was conditioned on the car passing inspection and it failed the inspection, then all of the money should be returned.
If the sale was conditioned on the car passing inspection and it failed the inspection, then all of the money should be returned.