You can find the y-intercept by looking at the +C if it's in y=mx+c. But honestly that's not really a great way to find it, or reliable. I would do what rand_althor said and just make x=0 so you can solve the equation to find y=whatever. Same for the x-intercept, make y=0 so you end up with x=whatever.