The equation
Ax+By=−18
A
x
+
B
y
=

18
goes through the coordinates (-3, 10) and (6, -2).