when you use this formula slope = rise/run like rise over run than you find the slope. rise me y and run means x. So when the line slopes downwards to the right it became negative slope as x increases and when line sloped upward to the right the slope become positive as y decreases.
formula to find slope: slope = rise/run or y/x