A line in the xy-plane has a slope of −3 and passes through the point (−2,7). Which of the following is an equation of this line?
y=−3x+7
y=−3x−2
y=−3x+1
y=−3x+4