The equation of a line passing through the points `(x_1, y_1)` and `(x_2, y_2)` is `(y - y_1)/(x - x_1) = (y_2 - y_1)/(x_2 - x_1)` . If the x and y intercepts of a line are a and b, the equation of the line is `x/a+y/b = 1`

Using these formulas, the equation of the line through (10,2) and (3,1) is `(y - 2)/(x-10) = (1-2)/(3-10) = 1/7` .

Rewrite `(y - 2)/(x - 10) = 1/7` in the slope intercept form.

`(y - 2)/(x - 10) = 1/7`

=> 7(y - 2) = x - 10

=> 7y - 14 = x - 10

=> 7y - x = 4

=> `y/(4/7) - x/4 = 1`

The x and y intercept of the line passing through the points (10,2) and (3,1) is -4 and 4/7