The distance between adelaide and melbourne is 450 miles. For the first 200 miles, Mila drives her car at X miles per hour. For the remaining distance, Mila drives her car at (X+30) mph. The average speed of the whole trip is 30 mph. What is the value of X?