Final answer:
The slope of line g, which is perpendicular to line f with a slope of 8/7, is -7/8.
Step-by-step explanation:
To find the slope of a line perpendicular to line f, we need to use the fact that the slopes of perpendicular lines are negative reciprocals of each other. Given that the slope of line f is 8/7, the slope of line g will be the negative reciprocal of 8/7. The negative reciprocal of 8/7 can be found by flipping the fraction and changing the sign, resulting in -7/8. Therefore, the slope of line g is -7/8.