37: The intersection happens at points

Note that the first intersection exists regardless of a, but the other two intersections exist only for positive a.

Slopes of tangent lines are given by the derivative. Setting it equal to −1 or 1 (at points of intersection) we get

However, recall that the second alternative is only relevant for positive a.

Answer