Create a quadratic equation to estimate the distances between traffic lights and light changing times of each traffic light to avoid traffic jams, on an avenue that has 25 intersections (streets) and at each intersection there is a traffic light such that traffic jams are avoided based on an average volume of 45 vehicles per block counted during peak hours.