Find the equation of a straight line passing through the point (1, -5) and having…