Well, that is simple. You first must find the slope of the line from the 2 given points by using the slope formula. Which is y2-y1/x2-x1. So 2-4/-2-2 which equals -2/-4 which is 1/2. So the slope is 1/2. Now we can use the slope intercept form which is y=mx+b to find the slope equation. So we plug in one the points, say (2,4) and get y=1/2x+3. So now we plug in (6,y) Since we know x we can find y. y=1/2(6)+3 which gives us y=6. So y is 6.
Both the numerator and denominator are divisible by 6. You need to find the greatest common factor, or GCF, which in this case is 6. So divide both the top and the bottom by 6 and you get 2/-5, and that is your final answer in simplified form.