The angle between the positive horizontal axis and a given line is 135o. Find the…