If you use the "Code" button, you can get things to line up better.
You can practice writing "in-line", but it probably takes more parentheses than you think.
Look up evey post by Soroban. He is the master of clarity of input and even character-based graphics.
Partial Fractions - Of course. You can set it up two ways.
A/x + B/(2x-1) + C/(x+1) + D/(x+1)<sup>2</sup>
or
a/x + b/(2x-1) + (cx+d)/(x+1)<sup>2</sup>
The rest is algebra.