You've found a very special case which is only true if

In general:

1. Use the indicated blue triangle to determine the slope of the tangent:

2. Use the triangle RCQ to determine the slope of the tangent:

Since and the 2nd equation becomes:

3. You now can use these 2 equations to get some additional results.