Before you can add fractions, they must have a common denominator.
The denominator of the first fraction is (q+3)(q+2) .
The denominator of the second fraction is (q+1)(q+2) .
The smallest common denominator is (q+1)(q+2)(q+3) .
The first numerator has to become q(q+1).
The second numerator has to become 1(q+3).
Then they can go over the common denominator, and get added.
Without writing it down, it looks like the sum of the numerators is q²+2q+4,
but you'll have to check that out before you write the final sum.