How do you write these two equations in slope intercept form?

x-5y-10=0

5x+2y+10=0

2 answers

y= x/5-2 and Y= -5/2-5
How do you get these answers?