Write each line in slope-intercept form.
y=−3x+1
y=−31x+31
So m1=−3 and m2=−31. If θ is an angle between the lines,
tanθ=1+m1m2m1−m2
=1+(−3)(−31)−3+31
=2−32=31
θ=30∘
Hence, the angles between the lines are 30∘ and 180∘−30∘=150∘.