"log 4" and "log 26" are just numbers. If it were (3x- 2)A= (x+ 1)B for A and B any numbers, you would multiply to get 3Ax- 2A= Bx+ B. Subtract Bx from both sides and add 2A to both sides to get (3A- B)x= B+ 2A. Finally, (as long as ) divide both sides by 3A- B to get . Now, replace A by log 4 and replace B by log 26.