Answer: y=(4/5)x-2
Assuming this is a liner function, you must first find the slope through the point slope formula [(y2-y1)/(x2-x1)]. When you plug in the corresponding values [(6-2)/(10-5)], your slope value should be 4/5.
After this, apply the slope to the x-values to find the intercept. For example, 10 x 4/5 is 8. To get to 6, you must subtract 2. This means your intercept value is -2
Therefore, your equation is y=(4/5)x-2