Write an equation for the slope( see picture) Thanks!?!

enter image source here