Paul Laurence Dunbars Sympathy and Langston Hughess I, are both about captivity, specifically African Americans being trapped by society through racism, prejudice, and unfair laws. What is the message of each poem?

Paul Laurence Dunbars Sympathy and Langston Hughess I, are both about captivity, specifically African Americans being trapped by society through racism, prejudice, and unfair laws. What is the message of each poem? Is one more hopeful than the other? Why do you think so? I attached notes with both poems