added equation for slope of a line