The equation of a line passing through the intersection of lines x = 0 and y = 0 and through the point (2, 2), is
The point of intersection of x = 0 and y = 0 is (0, 0).
Thus, the equation of line passing through the points (0, 0) and (2, 2) is
(y−0)=(2−0)(2−0)(x−0)
⇒y=x