Hello. You did not enter the texts to which this question refers. This makes it impossible for anyone to write the essay that the question requires. However, I will try to help you in the best possible way.
The only way to write this essay is to read the texts. After that, you should start the essay with an introduction, where you will tell who Debora Sampson is.
After the introduction you must write a paragraph showing how one of the texts shows her motivation to become a soldier and the legacy she left. You must write another paragraph showing how the other text presents the same information. You must not forget to show the titles of the texts in the corresponding paragraphs.
At the end you will make another paragraph where you will present a conclusion, addressing what you understood about Sampson, after interpreting the two texts.