Explanation:
Equating logarithms,
2x log3 = (x−1) log7
Solving: x = 1 − log9/log7 = −0.12915, nearly.