We have,
x=ay−a−yay+a−y ……. (1)
x=a2y−1a2y+1
xa2y+x=a2y−1
1+x=a2y−xa2y
1+x=(1−x)a2y
1+x1−x=a2y
loga(1+x1−x)=2y
y=12loga(1+x1−x)
Hence, proved.