The equation of a line in the intercept form is

Here, a and b are the intercepts on x and y axes respectively.
It is given thata + b = 9 ⇒ b = 9 – a … (ii) From equations (i) and (ii), we obtain

It is given that the line passes through point (2, 2). Therefore, equation (iii) reduces to

If a = 6 and b = 9 – 6 = 3, then the equation of the line is
