ok which one really is your question.
Technically irt should be the first one but I suspect it was supposed to be the last one. I doubt that it is the middle one. You needed more backets to make the meaning clear. Which would our like solved?
$$\\\frac{5(2x+1)^{2}}{4}\times x+5 = 5x-1\\\\
\\\frac{5(2x+1)^{2}}{4}\times (x+5) = 5x-1\\\\
\frac{5(2x+1)^{2}}{4x+5} = 5x-1$$
ok which one really is your question.
Technically irt should be the first one but I suspect it was supposed to be the last one. I doubt that it is the middle one. You needed more backets to make the meaning clear. Which would our like solved?
$$\\\frac{5(2x+1)^{2}}{4}\times x+5 = 5x-1\\\\
\\\frac{5(2x+1)^{2}}{4}\times (x+5) = 5x-1\\\\
\frac{5(2x+1)^{2}}{4x+5} = 5x-1$$