Solving a 2x2 system of linear equationsthat is inconsistent or consistent dependent

For the given system:
[tex]\begin{gathered} x+5y=5 \\ -x-5y=-5 \end{gathered}[/tex]If we divide the second equation by -1, we will obtain:
[tex]\begin{gathered} -\frac{x}{-1}-\frac{5y}{-1}=-\frac{5}{-1} \\ x+5y=5 \end{gathered}[/tex]Which is the same as the first equation.
Since the system is compound of 2 equal equations, we conclude that the system has infinitely many solutions.
They must satisfy the following equation:
[tex]y=-\frac{x}{5}+1[/tex]