The forum has a built in LaTeX parser which makes it easy to display math like that. For instance, if you type:
it will render as \(\displaystyle \dfrac{x}{5}\). If you right click on any LaTeX display here on the forum and select "Show Math As -> TeX Commands," you'll get a pop-up window showing you the code you'd need to type between "tex" brackets.
As for the problem, the strategy you've outlined will not produce the correct answer. After doing the multiplications you suggest, we'd be left with:
\(\displaystyle \dfrac{3(3x-1)}{x+1}=\dfrac{5(x+1)}{3x-1}\)
This doesn't really get us any closer to solving the problem, but even if it did, it doesn't matter because it's an invalid step anyway. The solution to the above equation are:
\(\displaystyle \dfrac{7}{11} \pm \dfrac{2\sqrt{15}}{11}\)
Plugging in the first of these two values back into the given equation leaves us with:
\(\displaystyle \dfrac{3}{\dfrac{18}{11} + \dfrac{2\sqrt{15}}{11}}=\dfrac{5}{3 \left( \dfrac{7}{11} \pm \dfrac{2\sqrt{15}}{11} \right) -1}\)
In decimal form, this says that:
\(\displaystyle 3.21825... = -4.15474...\)
And we know that's not true. Therefore, the multiplication you suggested is invalid, because it changes the nature of the equation so that it has different solutions. In general, when you have two expressions that are equal, you can perform any operation you like to one side,
as long as you do the SAME operation to the other side. In my third grade class, we learned this as "whatever you do to grandma, you have to do to grandpa."
In this specific case, you can multiply
both sides of the equation by (3x - 1) or both sides by (x + 1). Either one will lead to the solution. If you multiply both by (3x - 1), you'll get:
\(\displaystyle \dfrac{3(3x-1)}{x + 1} = \dfrac{5(3x-1)}{3x-1}\)
Where does that lead you? What do you think you should do next?