<p>Both are grammatically correct in every way. “with the right mindset” is just a prepositional phrase so it doesn’t matter where you put it.</p>
<p>You may want to choose whichever one provides the most variance in sentence structure within the context of your essay (probably #2). You can also consider setting “with the right mindset” off with commas to be clearer, although that may also make it clunkier.</p>