Can someone please help me out with these question's. I'm trying to add, subtract, multiply and divide functions.

How will I do that for:

f (x) = x^2 - 3 g (x) = 2 - square root (x+1)

Basically the way i did it was.

Add: x^2 - 3 + 2 - square root of (x+1)

= x^2 - square root of (x+1) - 1

Subtract: x^2 - 3 - 2 + square root (x+1)

= x^2 + square root (x+1) - 5

Multiply: I'm not sure how to do this one ... but i got:

f (x) . g (x) = (x^2-3) (2- square root (x+1)

= 2x^2 - square root (x+1)^3 - (square root (x+1)^3 + 3 square root (x+1)

but it's probably wrong.

Can someone help me with these, thanks.

Divide: i'll figure it out after i know how to multiply