Answer:
a. your classmate is correct
b. [tex]\frac{1}{a^{(y-x)}}=\frac{1}{\frac{a^{y}}{a^{x}}}=\frac{a^{x}}{a^{y}}[/tex]