We need to find a common denominator to combine the two fractions. The least common denominator (LCD) is (x+1)(x+2)(x−3). We rewrite the first fraction with the LCD:
(x+1)(x+2)1=(x+1)(x+2)1⋅(x−3)(x−3)=(x+1)(x+2)(x−3)x−3 We rewrite the second fraction with the LCD:
(x+2)(x−3)5=(x+2)(x−3)5⋅(x+1)(x+1)=(x+1)(x+2)(x−3)5(x+1) Now, we can subtract the two fractions:
(x+1)(x+2)(x−3)x−3−(x+1)(x+2)(x−3)5(x+1)=(x+1)(x+2)(x−3)(x−3)−5(x+1) Simplify the numerator:
x−3−5(x+1)=x−3−5x−5=−4x−8 So the expression becomes:
(x+1)(x+2)(x−3)−4x−8 We can factor out a −4 from the numerator: −4x−8=−4(x+2) Thus, the expression becomes:
(x+1)(x+2)(x−3)−4(x+2) We can cancel the (x+2) term in the numerator and the denominator: (x+1)(x−3)−4