First we can se the points that each line passes, and those are:
(-1, 5) & (0, 2)
(-5, -2) & (0, -4)
From this, we calculate each function, that is:
*Line 1:

And we calculate the first function:

*Line 2:

And we calculate the second function:

So the system is: