How do you do this?

y-5/y+2 = 1/7

multipy each side by 7, then multply each side by (y+2)

gather terms, and solve for y.