y=254-40x
Flip the equation
-40x+254=y
Add -254 to both sides
-40x+254+-254=y+-254
-40x=y-254
Divide both sides by -40
-40x/40=y-254/-40
x= -1/40 y + 127/20
I hope that's help !