Beam deflections by integration method

Two unknowns C1 and C2 appear in the slope and the deflection equations. To evaluate these constants, two boundary conditions are required.

Here is Canvas object wihch demonstrate the problem.