[tex]\Huge\boxed{\boxed{y=-x+2}}[/tex]
[tex]\large\textsf{Explanation:}[/tex]
[tex]-5x+10=5y[/tex]
Use the symmetric property to flip the sides of the equation.
[tex]5y=-5x+10[/tex]
Divide everything by 5.
[tex]\Large\boxed{y=-x+2}[/tex]