How do I solve for $g$ in $12g = 12 \left(\frac{2}{3g} - 1\right) + 11$? For this specific problem, I somehow keep coming up with the wrong answer. Can someone help me?
For the problem, I need to solve for $g$.
$$12g = 12 \left(\frac{2}{3g} - 1\right) + 11$$
Here is how I am trying to solve it:
$$12 \cdot \frac{2}{3g} = 8g$$
$$12 \cdot -1 = -12$$
$$12g = 8g - 12 + 11$$
(Then I subtract $8g$ from $12g$ and $8g$)
$4g = -12 + 11$
(Then I add $12$ to $-12$ and $11$)
$$4g = 23$$
(Then I divide $4$ from $4g$ and $23$)
$$g = 5.75$$
So, shouldn't $g$ equal $5.75$? But when I plug it in the equation to check my answer, both answers do not match. Where am I going wrong?

You can convert it to a quadratic equation, where it can be solved rather simply.
$$12g = 12(\frac{2}{3g} -1)+11$$
$$12g = \frac{24}{3g}-12+11 \implies 12g = \frac{8}{g}-1$$
$$\implies 12g^2 = 8-g\text{ (Multiply all terms by }g\text{.)}$$
$$\implies 12g^2+g-8 = 0$$
There is no simple way to factor this as we don’t have any integers which add up to $b$ and multiple to get $ac$. So, just use the quadratic formula.
$$\implies x = \frac{-b\pm\sqrt{b^2-4ac}}{2a}\text{ for }a = 12, b = 1, c = -8$$
$$\implies x = \frac{-1\pm\sqrt{1^2-4(12)(-8)}}{2(12)}$$
$$\implies x = \frac{-1\pm\sqrt{385}}{24}$$
