Log(54)3=1/log(3)54
log(18)3=1/log(3)18
log(3)162/log(54)3-log(3)486/log(18)3=
=log(3)162*log(3)54-log(3)486)*log(3)18=
=log(3)(2*81)*log(2*27)-log(3)(2*243)*log(3)(2*9)=
=(log(3)2+4)(log(3)2+3)-(log(3)2+5)(log(3)2+2)=
=log²(3)2+3log(3)2+4log(3)2+12-log²(3)2-2log(3)2-5log(3)2-10=
=12-10=2