The mean, median, and mode of the 5 data values 20,30,x,40,70 are all equal to x. What is the value of x?
30
35
40
45
50