Solve for x:

2 to x+1=x+2 to 3 or 2 to x+3= x+2 to x+5 (the proportions end up being the same in the end)
I keep getting to the part after you FOIL, and then I get stuck

1. 2/(X+1) = (X+2)/3.

Cross multiply:
(X+1)(X+2) = 6,
X^2+2X+X+2 = 6,
X^2+3X+2 = 6,
X^2+3X+2-6 = 0,
X^2+3X-4 = 0,
(X+4)(X-1) = 0,
X+4 = 0, X = -4.
X-1 = 0, X = 1.

Solution Set: (-4,0),(1,0).

2. 2/(X+3) = (X+2)/(X+5),
(X+3)(X+2) = 2(X+5),
X^2+2X+3X+6 = 2X+10,
X^2+2X+3X-2X = 10-6,
X^2+3X = 4,
X^2+3X-4 = 0.