Here is Canvas object wihch demonstrate the problem.

Adding the two cases, we can derive the expression for the slope at B:

Alternative approaches

Substituting our earlier results gives:

Alternative approaches

What is the value of ΘB?