The angle between the lines and is

Direction ratio are given implies that we can write the parallel vector towards those line, lets consider first parallel vector to be and second parallel vector be


For the angle we can use the formula


For that we need to find magnitude of these vectors










Negative sign does not affect anything in cosine as cosine is positive in fourth quadrant


1