Note that f(x)=∣log3(9x)∣ is monotonically decreasing on (0,9] and monotonically increasing on [9,+∞).
By the conditions satisfied by a,b,c, we know that 0<a<b<9<c and
log3(a9)=2log3(b9)=2log3(9c).
Therefore,
log3(bac)=log3(9⋅9a⋅b9⋅9c)=2−log3(a9)+log3(b9)+log3(9c)=2,
namely, bac=32=9.