In this example we have the problem:
2(2x+14) = 3(x-17)
In this case, we pick one of the bases. For this example, I'll pick the lefthand base of 2
log2(2(2x+14)) = log2(3(x-17))
The left hand logarithm and base cancel, giving us 2x + 14, the righthand item needs to use the exponent property of logarithms, which states that logb(xn) = n * logb(x)
2x + 14 = (x - 17) * log2(3)
I now distribute and move the x-termed items to the left and the constant terms to the right.
(2x - log2(3) * x) = (-17 * log2(3) - 14)
I factor out the x on the left hand side to get:
x(2 - log2(3)) = (-17 * log2(3) - 14)
and divide the non-x term:
x = (-17 * log2(3) - 14) / (2 - log2(3))
Calculating gives us:
x = -98.65
If google is to be believed with their calculator.