I'm looking at a solution to a math problem and there are obviously some rules regarding multiplication of fractions that I don't know.
Can someone make any sense of this?
$$s_n = 625 \cdot \frac{\left(\frac 1 5\right)^n - 1}{\frac 1 5 - 1} = 625 \cdot \frac{\left(\frac 1 5\right)^n - 1}{- \frac 4 5} = - \frac{3125}{4} \cdot \left(\left(\frac 1 5\right)^n -1\right) = \frac{3125}{4} \cdot \left( 1 - \left(\frac 1 5\right)^n\right)$$
Can someone explain to me how you get from each step to another?
First step: subtraction
Second step: $\frac{a}{\frac{b}{c}}=\frac{c}{b}a$
Third step: $(-c)(a-b)=(-1)c(a-b)=c(-1)(a-b)=c(-a-(-b))=c(b-a)$