A car starts moving along a line, first with acceleration a = 5m/s^2 starting from rest then uniformly and finally decelerating at the same rate till it comes to rest. The total of motion is 25s. The average speed during the time is 20m/s. The particle moves uniformly for (2.5x) second. Find the value of x.