Q2. a^x=b^y=(ab)^z
find z in terms of y:
log(b)^y=log(ab)^z
ylog(b)=zlog(ab)
z=ylog(b) / log(ab)
therefore, z=ylog(b) / (loga+logb)
now, find x in terms of y:
log(a)^x=log(b)^y
xlog(a)=ylog(b)
x=ylog(b) / log(a)
take reciprocal,
therefore 1/x = log(a)/ ylog(b)
now add 1/y to both sides,
1/x...