Can someone explain how to solve this step by step?

Answer: [tex]\frac{x+1}{x}[/tex]
multiple by [tex]\frac{x^{2} }{x^{2} }[/tex]
[tex]\frac{x^{2} -1}{x^{2} - x}[/tex]=
[tex]\frac{(x+1)(x-1)}{x(x-1)}[/tex]
[tex]\frac{x+1}{x}[/tex]
Step-by-step explanation: