Calculate the equation of a straight line which x-intercept is = - 2 and y-intercept = 2