-5y+10x=5;x=-2,0,2 how to i solve for x and y it says solve each equation for y. Then find the value of y for each value of x

Given the equation below
[tex]-5y+10x=5[/tex]To find the values of y for the given values of x,
Substitute for x into the equation
Where x = -2
[tex]\begin{gathered} -5y+10x=5 \\ -5y+10(-2)=5 \\ -5y-20=5 \\ \text{Collect like terms} \\ -5y=5+20 \\ -5y=25 \\ \text{Divide both sides by -5} \\ \frac{-5y}{-5}=\frac{25}{-5} \\ y=-5 \end{gathered}[/tex]Where x = -2, y = -5
Where x = 0
[tex]\begin{gathered} -5y+10x=5 \\ -5y+10(0)=5 \\ -5y+0=5 \\ -5y=5 \\ \text{Divide both sides by -5} \\ \frac{-5y}{-5}=\frac{5}{-5} \\ y=-1 \end{gathered}[/tex]Where x = 0, y = -1
Where x = 2
[tex]undefined[/tex]