32x−3x+2=3x+1−27
= (3x)2−(3x).(32)=(3x).(31)−27
Let 3x be B; we have
= B2−9B−3B+27=B2−12B+27=0.
Solving the equation, we have B = 3 or 9.
3x=3 or 3x=9
3x=31 or 3x=32
Equating, we have x = 1 or 2.