If the mean of the data 3,21, 25, 17, (x+ 3), 19, (x- 4) is 18, find the value of x. Using this value of x, find the mode of the data.