You can
put this solution on YOUR website!Use the intercept form of the equation:

. Since the x- and y-intercepts are equal, a = b, so the equation becomes

. Substitute the coordinates of the given point into this equation:

,

, or a = -2. Therefore the equation is

.