Here is Canvas object wihch demonstrate the problem.

Using the principle of superposition, split the beam into two individual cases:

Case 1 consists of a cantilever with a linearly decreasing distributed load.

Case 2 consists of a cantilever with a concentrated load acting upward.