Consider the equation ax+1=b+x where a and b are constants. Create a function that takes numbers a and b as arguments, and returns the solution of the equation.
"No solution"."Any number".solve(4, 7) ➞ 2.0
solve(9, 5) ➞ 0.5
solve(12, -4) ➞ -0.455
Round your answer to three decimal places.