Given lines are y−3x−5=0 or y=3x+5…(i)
and 3y−x+6=0 or y=31x−23…(ii)
Slope of line (i) is m1=3 and slope of line (ii) is m2=31.
The acute angle (say θ)between two lines is given by tanθ=∣∣1+m1m2m2−m1∣∣=∣∣1+3×3131−3∣∣ =∣∣231−3∣∣=±31
which gives θ=30∘. Hence, the angle between two lines is either 30∘ or (180−30)∘=150∘