I don't understand how to simplify this fraction: $$\frac{12ab-12b}{8ac-24c}$$ This is my idea to what should be done, but I think it is totally wrong: $$\frac{12ab-12b}{8ac-24c}=\frac{12\cdot a\cdot b-12\cdot b}{8\cdot a\cdot c-24\cdot c}=\frac{12b^2-12b}{8c-24c}=\frac{b}{8c-24c}=?$$
Edit: I want to simplify the fraction.
In general
$$\frac{12ab-12b}{8ac-24c}\ne \frac{12b^2-12b}{8c-24c}.$$
You can divide $^1$ both numerator and denominator by $4=\gcd(12,8,24)$:
$$\frac{12ab-12b}{8ac-24c}=\frac{(12/4)ab-(12/4)b}{(8/4)ac-(24/4)c}=\frac{3ab-3b}{2ac-6c}.$$
If you want you can factor the numerator and denominator
$$\frac{3ab-3b}{2ac-6c}=\frac{3b\left( a-1\right) }{2c\left( a-3\right) }.$$
Since there are no common factors you cannot simplify further.
--
$^1$ In greater detail:
$$\frac{12ab-12b}{8ac-24c}=\dfrac{\dfrac{12ab-12b}{4}}{\dfrac{8ac-24c}{4}}=\dfrac{ \dfrac{12ab}{4}-\dfrac{12b}{4}}{\dfrac{8ac}{4}-\dfrac{24c}{4}}=\dfrac{\dfrac{12}{4} ab-\dfrac{12}{4}b}{\dfrac{8}{4}ac-\dfrac{24}{4}c}=\dfrac{3ab-3b}{2ac-6c}.$$