it appears to me that the current generated by 35 V and 2vx will
collide each other
It may be that you are assuming that a voltage source, whether independent or controlled, must source current, i.e., supply power to the circuit.
But, at least in ideal circuit theory, there's nothing "wrong" with a voltage source sinking current, i.e., receiving power from the circuit.
For a real world example, consider that, when a battery is being charged, the current is in the opposite direction than when the battery is being discharged.
I would like to know how the current flows across 5 Ω resistor.
If you're planning to be an EE, don't write or say things like "current across"; current is through, voltage is across.
Now, this circuit is very easy to solve. There are two unknowns so you need two independent equations.
For the 1st, write a KVL equation clockwise 'round the loop:
$$35V = v_x + 2v_x - v_o \rightarrow 3v_x = 35V + v_o$$
Now, you need one more independent equation. Can you find one?
Other people have given good quantitative methods. If you want a more qualitative method, one place you can start is to try to figure out which way the currents are flowing in each branch. That will usually help give you some intuition as to what's happening with the voltages, too.
There are three branches -- The V1/R1 branch, the R2 branch, and the I1 branch. The I1 branch has a constant current source, so you know which way the current is flowing. Next, look at the R2 branch. All of your sources are pointing towards the top of R2, which tells us that the current will be flowing from top to bottom.
That leaves the V1/R1 branch. The question here is, under what conditions will current flow into the branch (from the top node towards V1) and out of the branch (from V1 towards the top node)? Well, it depends on the voltage at the top node, which I'll call Vtop. When Vtop < V1, V1 sources current. When Vtop > V1, V1 sinks current. When V1 = Vtop, no current flows through V1.
Let's imagine that V1 = Vtop, so there's no V1 current. All of the I1 current goes through R2. What would Vtop be, then? \$3A * 5\Omega = 15V\$. Do we have anything close to 15V in V1's branch? Nope! Therefore, V1 must be sinking some of I1's current -- probably a fair bit since it's a small voltage source.
In this circuit, the resistors were all roughly the same size. That's not always the case. If one resistor is much larger than the others, anything in series with it will have a small effect on the rest of the circuit. Likewise, a small resistance will tend to short out whatever's in parallel with it. (You'll see this principle at work in passive filters once you get to AC circuit analysis.)
Lastly, there are two special cases that are very rare but may help with your intuition. The first is an ideal voltage source in parallel with an ideal current source. In this case, the current source has no effect at all. Likewise, when an ideal voltage source is in series with an ideal current source, the voltage source has no effect at all. You should make sure you understand why. Feel free to post a comment if you want to confirm anything.
Best Answer
Yes it seems confusing but it isn't. If there's something uniquely in series with a current source then that "something" has no effect; the current source overrides its presence. So, you have 3 amps passing through the 8 ohm resistor and that produces a volt drop of 24 volts.
As previously stated, the 4 ohm in series with the 2 amp current source is irrelevant hence the voltage across the 10 ohm resistor is 20 volts and, this is cancelled by the opposing 20 volt source in the "B" line.
Hence, 24 volts is the final answer.