The number of wrecks at a certain intersection varies directly as the number of cars that travel through the intersection. If there are 31 wrecks when 1,085 cars have traveled through the intersection, how many cars have passed through the intersection after 7 wrecks?