Slopes of lines

can anyone help me to solve this problem?

Show your work? I would suggest sketching out the different possibilities.