What are the y-intercept and x-intercept of

y= x-1/x^2-2x+5

You probably meant

y= (x-1)/(x^2-2x+5) , but that is for you to decide

For the y-intercept, let x = 0 and solve for y
(you can do this in your head, y = -1/5 )
For the x-intercept, let y = 0 and solve for x
(again, you should be able to do this in your head)