i don’t know how to find the slope of this like i know the answer i just don’t know how to figure it out

i dont know how to find the slope of this like i know the answer i just dont know how to figure it out class=