On the solution of an initial-boundary value problem that combines Neumann and integral condition for the wave equation