If a certain number, x, is added to 4/(x+1), the result is 3. Find the number.

x + 4/(x+1) = 3

x = 1