find dy/dx
(20-2)/(32-14)=18/18=1 so the slope is 1 and we can say:
y=x+b, using any point we can solve for b, (32,20)
20=32+b, b=-12 so the line is:
y=x-12
So your missing x value is:
-6=x-12
x=6
and your missing y value is:
y=-10-12
y=-22
and again the function, or "rule" is:
y=x-12