If subtracting one, the denominator is twice the numerator. If adding one, the denominator is 3/2 the numerator.
2(n - 1) = d - 1
3(n + 1) = 2(d + 1)
2n - 2 = d - 1
3n + 3 = 2d + 2
d = 2n - 1
3n - 2d = -1
Substitute!
3n - 2(2n - 1) = -1
Solve for n, then plug your answer into the first equation to solve for d, then combine them for your fraction.