Two black lines pass through the origin, as shown below. If their slopes are 2 and 4, then find the slope of the red line that bisects the acute angle between these lines.
We can find the slope as
tan [ (arctan 4 +arctan 2) / 2 ] ≈ 2.7