Sorry, I didn't fully understand your initial question. I'll answer it now.
A quick and easy equation you can always use is y = -x + 2
Put one point on (0, 2) and put another point on (2, 0) (since a slope of 2/2 would cancel out) Then connect the points, and you're done.