Solve for x n=(2x+1)/2