Answer :
nationalism played a large role in the unification of Italy and Germany
The poor economic conditions that led to poor living conditions in general, the lack of jobs, and the high unemployment rate, in both cases, triggered the "worry" of solving national economic problems, raising and rebuilding the nation and national pride. Thus, various actions were launched on nationalism, and one of them was the unification of Italy and Germany.
The answer is: D.