If the x-intercept is 7, then the coordinate is 7 along the x-axis and 0 up the y-axis, so the coordinate is (7,0). We now have the two points (4,2) and (7,0).
You can find out the slope of any line using the general equation:
![(y_(2)-y_(1))/(x_(2)-x_(1))](https://img.qammunity.org/2019/formulas/mathematics/middle-school/h6yio8o6nmr3xtqzjfa9sn654ojtjh40xn.png)
(0-2)/(7-4) = -2/3
The slope of the line is -2/3x.