Wrtie an equation of a line passing through (6,10) and (6,-6

y= mx + b
Put in the first set of points:
10=6m + b
Do the same for the second point.

Then, you have two equations, two unknowns. Solve by substitution.

(2y +23)(6y + 7) = 0