Expressions for the slope at A have been determined for each individual case. Next, these expressions are added to form a compatibility equation for the slope at A.

Here is Canvas object wihch demonstrate the problem.

Recall that the problem statement required the beam slope at A to be zero.