The equation of the line with intercepts a and b is .
Here, a + b = 7
b = 7 − a ... (1)
The line passes through (−3, 8).
∴ ... (2)
Substituting b = 7 − a in (2) we get,
Substituting a = 3 in (1) we get,
b = 7 − 3 = 4
Hence, the equation of the line is or 4x + 3y = 12