Swithch x's and y's in the original equation and solve for y
x = (2y-1)/(y+5)
xy + 5x = 2y-1
5x + 1 = 2y-xy
5x+1 = y ( 2-x)
y = (5x+1)/(-x+2) <======= you can finish from here I hope !
(BTW x cannot equal - 5 from original and cannot equal 2 in the inverse) )