What impact did European contacts have on these two East Asian civilizations through the end of the eighteenth century?

How did Qing China and Tokugawa Japan respond to the coming of the Europeans, and what explains the differences? What impact did European contacts have on these two East Asian civilizations through the end of the eighteenth century? Textbook: World History ninth edition volume 2: since 1500 by William J. Duiker and Jackson J. Spielvogel