Can someone explain how you step by step find the slope to questions like this along with the answer? I forget how but I also can’t figure it out and I’d like to know Incase I have more questions like this

Can someone explain how you step by step find the slope to questions like this along with the answer I forget how but I also cant figure it out and Id like to k class=