f(x) = (x-1)/(x+1)
f'(x) = [(x+1) - (x-1)]/(x+1)2 = 2/(x+1)2
x-2y=1 can be written as y = (1/2)x - 1/2, so the slope of all lines parallel to x-2y=1 must be 1/2. Hence, we can solve for x in f'(x) using our slope of 1/2:
1/2 = 2/(x+1)2
(1/2)(x+1)2 = 2
(x+1)2 = 4
x2 + 2x + 1 = 4
x2 + 2x - 3 = 0
(x+3)(x-1) = 0
x = -3, 1
If x=-3, then f(-3) = ((-3)-1)/((-3)+1) = -4/(-2) = 2 --> (x1,y1) = (-3,2)
If x=1, then f(1) = (1-1)/(1+1) = 0/2 = 0 --> (x2,y2) = (1,0)
Hence, we have two possible tangent line equations for the original function that are parallel to x+2y=1:
y-y1 = m(x-x1)
y-2 = (1/2)(x-(-3))
y-2 = (1/2)x + 3/2
y = (1/2)x + 7/2
y-y2 = m(x-x2)
y-0 = (1/2)(x-1)
y = (1/2)x - 1/2
The two equations are thus y = (1/2)x + 7/2 and y = (1/2)x - 1/2. Hope this helped!