- How do you get the scalar 4 in order to obtain $8x+8y$. Is it because $8≡1\mod7$ and therefore we need an $ 8$, $8/2 = 4$, and that's it? Or is there a totally different logic behind this step?
We can view congruences as generalized equations. In particular they enjoy many of the same properties that equations do, e.g. they remain true if we multiply both sides by the same (or congruent) numbers, and also if we add or subtract to both sides the same (or congruent) numbers. Let's examine these properties more closely to see how they yields answers to your queries.
The Congruence Product Rule implies that congruences are preserved under integer scalings, i.e.
$$ b\equiv c\!\!\pmod{\!n}\, \Rightarrow\, ab\equiv ac\!\!\pmod{\!n}$$
Thus the idea is to scale $\, 2x+2y\equiv 0\,$ by some integer $\,a\,$ to simplify it by making the coefficients smaller. Here we can make them $1$ because $2$ is invertible: $\,2a\equiv 1\equiv 8\iff a\equiv 4\pmod{\!7}.\,$ Therefore scaling by $\,4\equiv 2^{-1}$ simplifies both coefficients to $\,4\cdot 2\equiv 8\equiv 1,\,$ i.e.
$$ 2x+2y\equiv 0\!\!\pmod{\!7}\iff x+y\equiv 0\!\!\pmod{\!7}$$
Beware generally scaling yields only the direction $(\Rightarrow)$ but scaling by an invertible $\,a\,$ means the direction $(\Leftarrow)$ holds too (by scaling RHS by $\,a^{-1}\equiv 4^{-1}\equiv 2,\,$ which is obvious in this case). When the scale factor $\,a\,$ is not invertible then we need to check that the solutions of the scaled equations are not extraneous, i.e. they actually satisfy the original equation. Here is an extraneous example.
- I assume you get rid of the $8$s simply by dividing the whole congruence by $8$?
No we used $\,8\equiv 1\,$ so $\,8x\equiv 1x\equiv x\,$ by the Congruence Product Rule.
- In the final solution it is stated that $y=-x+7k$; to obtain the $-x$, can you simply move it on the other hand of the equation? So if we had anything else, could we just move it, like in normal equations?
The Congruence Sum Rule implies that congruences are preserved under integer shifts, i.e.
$$ b\equiv c\!\!\pmod{\!n}\, \Rightarrow\, a+b\equiv a+c\!\!\pmod{\!n}$$
Thus shifting $\,y+ x\equiv 0\,$ by adding $\,a\equiv -x\,$ to both sides yields $\, y\equiv -x\pmod{\!7}$.
Remark $ $ In more advanced contexts we don't usually explicitly mention invocation of these basic congruence rules (laws). It's essential to know the scope of such laws to avoid mistakes (e.g. such sum and product rules don't apply analogously to exponentiation, but a more limited rule exists).
By induction, the congruence rules imply that we can replace arguments of sums and products by any congruent argument and we will obtain a congruent result (this is the congruence generalization of equalities being preserved upon replacing function arguments with equal arguments). In particular this holds true for all polynomial expressions (with integer coef's) because they are composed of sums and products (see the Polynomial Congruence Rule).
We can think of a congruence as a generalized equality. Generally a congruence on an algebraic structure is an equivalence relation that is compatible with the ambient arithmetical operations (here addition and multiplication in a ring), which is the gist of the Sum and Product Rules, i.e. addition and multiplication operations don't depend on which congruence class rep is chosen (which implies that they induce well-defined operations on the congruence classes - which is reified structurally via a quotient ring, e.g. above the ring $\,\Bbb Z_7 \cong \Bbb Z\bmod 7 = $ integers modulo $7)$.