The average value of a group of observations is 25. If the observations are 29, 32, 16, 7, x and x+4, then find the value of x.