slope given points (\color(red)(x_1,y_1))(x1,y1) and (\color(green)(x_2,y_2))(x2,y2): m=(\color(green)(y_2)-\color(red)(y_1))/(\color(green)(x_2)-\color(red)(x_1))m=y2−y1x2−x1
you are given points (\color(red)(5,-2))(5,−2) and (\color(green)(-3,2))(−3,2) \thereforem=(\color(green)(2)-(\color(red)(-2)))/(\color(green)(-3)-\color(red)(5))=(2+2)/-8=4/-8=-4/8=-1/2