First, we find the equation of the lines.
Line that passes through the origin (0,0) and (1,3):
slope m = (3 - 0) / (1 - 0)
m = 3 / 1
m = 3
y - 3 = 3 (x - 1)
y - 3 = 3x - 3
y = 3x - 3 + 3
y = 3x
Equation of the line that passes through (-3,1) and (1,-7):
slope m = (-7 - 1) / (1 - (-3))
m = (-7 - 1) / (1 + 3)
m = -8 / 4
m = -2
y - (-7) = -2 (x - 1)
y + 7 = -2x + 2
y = -2x + 2 -7
y = -2x - 5
Finally, we find the point of intersection of both lines. At this point, the x and y coordinates are equal for both lines. So, to find those x and y coordinates we will set both lines equal to each other:
3x = -2x - 5
3x + 2x = -5
5x = -5
x = -5 / 5
x = -1
y = 3x
y = 3 (-1)
y = -3
Point of intersection: (-1, -3)