1/g+2 + 3/g+1

To add these two fractions, we need a common denominator.

The common denominator in this case is (g + 1)(g + 2), so the fractions become:

(g(g+2))/(g+1)(g+2) + 3(g+1)/(g+1)(g+2)

Now we can combine the fractions by adding the numerators:

(g(g+2) + 3(g+1))/(g+1)(g+2)

Expanding the numerators:

(g^2 + 2g + 3g + 3)/(g^2 + 3g + 2g + 2)

Combine like terms:

(g^2 + 5g + 3)/(g^2 + 5g + 2)

Therefore, the final combined fraction is:

(g^2 + 5g + 3)/(g^2 + 5g + 2)

what is the sum

The sum of the fractions is:

g^2 + 5g + 3 divided by g^2 + 5g + 2

This is the simplified form of the sum of the two fractions.