You can put this solution on YOUR website!
Get the ln of both sides
(x+1)*ln(8) = (x-1)*ln(3)
x*ln(8) + ln(8) = x*ln(3) - ln(3)
x[ln(8)-ln(3)] = -ln(8) - ln(3)
x = [ln(8) + ln(3)]/[ln(3) - ln(8)]
x = ln(24)/ln(0.375) or -3.24017 [to 5 decimal places]