NCERT Example 2 - Straight Lines
Question: The inclination of a line is pi/4. Find the other slope when one slope is 1/2 and the angle between the lines is pi/4.
Answer: The other slope is 3 or -1/3.
Full step-by-step NCERT solution with diagrams on Something by Zero.