To answer this specific problem:
A sample size of 5 for which the sample mean is 20 and the sample median is 15 would be 9, 12, 15, 25, and 39. I am hoping that this answer has satisfied your query and it will be able to help you in your endeavor, and if you would like, feel free to ask another question.