Solvability of a three-point nonlinear boundary value problem for a second order ordinary differential equation