The easy way to solve this problem is with beam elements. Failing that, the way to solve it is to consider two beam problems, where each beam is of constant cross section. The loads from the beam on the right can be transferred to produce and equivalent shear and moment at the interface to load the beam on the left. Then the boundary conditions between the two problems have to be matched to assure displacement and slope continuity across the interface. It is a messy problem, but it is entirely doable.