A data set has 15 elements. The 15 elements in a second data set are obtained by multiplying each element in the first data set by 10. The 15 elements in a third data set are obtained by decreasing each element of the second data set by 20. The median of the third data set is 50. What is the median of the first data set?

I know the answer is 7 but I don't know how to set up this problem.