$$ \begin{aligned} -30 &= 7r+5&& \text{ swap the left and right side of the equation } \\[1 em]7r+5 &= -30&& \text{ move 5 to the right } \\[1 em]7r &= -30-5&& \\[1 em]7r &= -35&& \text{ divide both sides by $ 7 $ } \\[1 em]r &= -\frac{35}{7}&& \\[1 em]r &= -5&& \\[1 em] \end{aligned} $$