Starting equation: xy + 5 = x + 6
First, subtract 5 from both sides:
xy + 5 - 5 = x + 6 - 5
xy = x + 1
Next, subtract x from both sides:
xy - x = x + 1 - x
xy - x = 1

Combine left-side terms using a(b+c)=ac+ac;
above line repeated using the factor "1":
xy - x(1) = 1
x(y - 1) = 1
Finally, divide both sides by (y - 1):
x(y - 1)
y - 1
=   1  
y - 1

x =   1  
y - 1