Relationship 2 is a function because x isn’t being repeated.
Slope of a line passing through two given points
= (y2-y1)/(x2-x1)
For m=3, and substituting coordinates,
3=(1-y)/(4-1)
solve for y
1-y=3*3=9
y=1-9=-8
Answer: y=-8
All you need to do is substitue -2 into the equation for x,
h(-2) = 3(-2) + 1 = -6 + 1 = -5