Preface
The first thing I do before attempting to analyze a circuit is to redraw that circuit. The process of just doing it helps me think and gather up a few details that I may not notice so easily, just staring at someone's depiction. But I can often help the readability, too, which improves understanding and reduces chances for mistakes, later.
It takes lots of practice to accumulate a good sense about it. But that practice is well worth your time. I'll add a "boilerplate" addendum below about some guidance in getting started.
Also, keep in mind that you get to call one node "ground." If you select a really convenient one, it can greatly simplify the analysis and reduce chances for mistakes, as well. (This doesn't always have to be the obvious choice or the one that the writer chose. You can move it to a different location if that helps your analysis.)
Redrawn
Those things said, I see the following schematic:
simulate this circuit – Schematic created using CircuitLab
Note that I've chosen a ground (to be the same as node b), for my convenience. Note also that I've removed the voltage supply and simply used annotations to track where it is applied. These things often make the circuit simpler to consider, I think.
Stepwise Simplification
Now, you can solve this many different ways. You tried "mesh" or using KVL. But there are only two unknown node (a and x) voltages. So you could also solve this with KCL.
But let's avoid both of them and use step-wise Thevenin simplification of resistor dividers to get to the end-point. I'll come back and hit this using both KVL and KCL.
So, note the following schematic simplification steps:
simulate this circuit
I won't work all the individual equations for you. I think you can do that on your own. But above you can see that the circuit simplifies down to a point where all you need to do is calculate:
$$V_{_\text{TH}}=+12.5\:\text{V}-15\:\Omega\cdot 3\:\text{A}=-32.5\:\text{V}$$
No KCL or KVL (not directly, anyway.) Just step-wise simplification.
(Note also that we could have also chosen to start with a Norton to Thevenin conversion of \$I_1\$ and \$R_4\$.)
KCL
Next, I'll do KCL because you didn't. ;)
Here, the two necessary equations are (using \$V_1=150\:\text{V}\$ and \$I_1=3\:\text{A}\$, of course):
$$\begin{align*}
\frac{V_{_\text{X}}}{R_1}+\frac{V_{_\text{X}}}{R_2}+\frac{V_{_\text{X}}}{R_3}&=\frac{V_1}{R_1}+\frac{0\:\text{V}}{R_2}+\frac{V_{_\text{A}}}{R_3}
\\\\
\frac{V_{_\text{A}}}{R_3}+\frac{V_{_\text{A}}}{R_4}+I_1&=\frac{V_{_\text{X}}}{R_3}+\frac{V_1}{R_4}
\end{align*}$$
I've also included a KCL addendum below, in case that helps you interpret the above.
Using sympy, I get:
var('va vx r1 r2 r3 i1 r4 v1')
(va, vx, r1, r2, r3, i1, r4, v1)
eq1 = Eq( vx/r1 + vx/r2 + vx/r3, v1/r1 + 0/r2 + va/r3 )
eq2 = Eq( va/r3 + va/r4 + i1, vx/r3 + v1/r4)
ans = solve( [ eq1, eq2 ], [ va, vx ] )
for i in ans: i,ans[i].subs( { r1:40, r2:8, r3:10, r4:150, i1:3, v1:50 } )
(va, -65/2)
(vx, -8)
So, here again, find:
$$V_{_\text{TH}}=V_{_\text{A}}=-32.5\:\text{V}$$
KVL
For this, my simplified circuit is a slight pain. (Proof that one schematic form doesn't serve all methods equally well.) So here is the schematic, with a few additions:
simulate this circuit
Now you can see why I mostly hate mesh analysis. Once you do this a few hundred times in different ways, you will also grow to hate mesh analysis -- using it only rarely when it is obviously easier.
I'm showing three current loops, above. But also there is another variable to add: the voltage across the current source. Note that I'm calling this \$V_{I_1}\$ and the sign choice I made is also shown on the schematic, above.
$$\begin{align*}
V_1 - R_1\cdot I_{_\text{A}} - R_3\cdot\left(I_{_\text{A}}-I_{_\text{B}}\right) + V_{I_1}&=V_1
\\\\
V_1 - R_4\cdot\left(I_{_\text{B}}-I_{_\text{C}}\right)- R_3\cdot\left(I_{_\text{B}}-I_{_\text{A}}\right)-R_2\cdot I_{_\text{B}}&=0\:\text{V}
\\\\
V_1 - V_{I_1} - R_4\cdot\left(I_{_\text{C}}-I_{_\text{B}}\right)&=V_1
\\\\
I_{_\text{A}}-I_{_\text{C}} &= I_1
\end{align*}$$
Using sympy:
var('ia ib ic vi1') # adding the new variables
(ia, ib, ic, vi1)
eq3 = Eq( v1 - r1*ia - r3*(ia-ib) + vi1, v1 )
eq4 = Eq( v1 - r4*(ib-ic) - r3*(ib-ia) - r2*ib, 0 )
eq5 = Eq( v1 - vi1 - r4*(ic-ib), v1 )
eq6 = Eq( ia - ic, i1 )
ans0 = solve( [ eq3, eq4, eq5, eq6 ], [ ia, ib, ic, vi1 ] )
for j in ans0: j, ans0[j].subs( { r1:40, r2:8, r3:10, r4:150, i1:3, v1:50 } )
(ia, 29/20)
(ib, -1)
(ic, -31/20)
(vi1, 165/2)
And now you can get:
$$V_{_\text{TH}}=V_1 - V_{I_1}=50\:\text{V} -\frac{165}2\:\text{V}=-32.5\:\text{V}$$
Same answer.
I'll let you work out where you went wrong with the KVL approach. (They may have been trying to teach you "supernodes," which I don't care about nor use. If you need to learn to use them, I'll leave it to you.)
That's everything for now. I know that this doesn't completely answer all three values you need. But it carries you across a key item, I think. And you should be able to take it from there. Regardless, feel free to ask questions.
Redrawing Schematic Addendum
Rules to live by are:
- Arrange the schematic so that conventional current appears to flow from the top towards the bottom of the schematic sheet. I like to imagine this as a kind of curtain (if you prefer a more static concept) or waterfall (if you prefer a more dynamic concept) of charges moving from the top edge down to the bottom edge. This is a kind of flow of energy that doesn't do any useful work by itself, but provides the environment for useful work to get done.
- Arrange the schematic so that signals of interest flow from the left side of the schematic to the right side. Inputs will then generally be on the left, outputs generally will be on the right.
- Do not "bus" power around. In short, if a lead of a component goes to ground or some other voltage rail, do not use a wire to connect it to other component leads that also go to the same rail/ground. Instead, simply show a node name like "Vcc" and stop. Busing power around on a schematic is almost guaranteed to make the schematic less understandable, not more. (There are times when professionals need to communicate something unique about a voltage rail bus to other professionals. So there are exceptions at times to this rule. But when trying to understand a confusing schematic, the situation isn't that one and such an argument "by professionals, to professionals" still fails here. So just don't do it.) This one takes a moment to grasp fully. There is a strong tendency to want to show all of the wires that are involved in soldering up a circuit. Resist that tendency. The idea here is that wires needed to make a circuit can be distracting. And while they may be needed to make the circuit work, they do NOT help you understand the circuit. In fact, they do the exact opposite. So remove such wires and just show connections to the rails and stop.
- Try to organize the schematic around cohesion. It is almost always possible to "tease apart" a schematic so that there are
knots of components that are tightly connected, each to another, separated then by only a few wires going to other knots. If you can find these, emphasize them by isolating the knots and focusing on drawing each one in some meaningful way, first. Don't even think about the whole schematic. Just focus on getting each cohesive section "looking right" by itself. Then add in the spare wiring or few components separating these "natural divisions" in the schematic. This will often tend to almost magically find distinct functions that are easier to understand, which then "communicate" with each other via relatively easier to understand connections between them.
- You get to choose exactly one node and call it "ground." If the purpose of redrawing the schematic is for understanding it, then choose a node that helps achieve that. When signals are single-ended, they share a common node and you should select this common node as "ground." If the purpose is for analysis, then you can select this for the purpose of reducing the equation complexity. Often, this will mean the node that is "busiest" (has the most terminals attached to it.) Either way, make this choice wisely and it will help a great deal.
The above rules aren't hard and fast. But if you struggle to follow them, you'll find that it does help a lot.
You can read a snippet of my own education by those schematic draftsmen at Tektronix who trained me by reading here.
KCL Addendum
The KCL equations may appear to treat node voltages as if they don't have to be differences, but can be absolute values. However, that's not really the case here. In fact, I'm just using superposition (which is easily seen once you've really had the concepts deepened into you.) This is, in fact, the same technique used within Spice programs (those where I've directly looked over the code used to generate these.)
Perhaps the easiest way to imagine is that absolute voltage at a node spills away from that node through the available paths. But also that absolute voltages spill into that node from surrounding nodes through those same paths. So long as you treat them all as absolute values, the result is the application of a simple superposition concept that results in, effectively, the potential differences controlling the result.
You can test this, easily, by rearranging the resulting equation(s), moving the right side over to the left side and then combining terms. You'll then see the usual potential differences that you expect. So it really is the same result.
The reason I very much prefer this method is that it is simple to visualize and very difficult to make mistakes. You can easily orient yourself to a node and then work out the terms for out-flowing currents for the left side of the equation. Then all you have to do is position yourself at each surrounding node and work out the terms for in-flowing currents for the right side. It's almost impossible to screw that up.
Conversely, when you are instead struggling to work out the potential differences in your mind (using the more traditionally taught method) and just write those terms, you often find yourself not entirely sure if you have the sign right as you try and add them up, correctly. I find, time and time again that not only others wind up messing up somewhere and making an uncaught mistake.. but that I also make those mistakes, as well. Even with lots of experience, you just aren't 100% sure and you often find yourself double and triple checking your work, just in case.
That doesn't ever happen, once you start using the superposition method. It just works. It just works right. It just works right each and every time. I've never, not once, screwed up. (I make typos. But not sign errors.) It's too easy to use.
So voltage spills away from a node via available paths and voltage spills into a node from nearby nodes via the same available paths. The only caveat is that a current source or sink can only flow in, or flow out, but not both directions. It's one way. So it will either appear on the out-flowing side or on the in-flowing side -- but not both sides.
This also works perfectly well with capacitors and inductors. It does turn the equation into a differential/integral equation. But that's just a technicality. It's still correct.