When writing my own research, I needed to quote a paragraph from a research X published in 2016. When I read the paper, X i found this paragraph is taken from research Y published in 2010. The question is when I write the references do I refer to the research X or Y