Hi,

I'm a little confused over one of the questions I've been given for composite functions. I have the answer but I can't see how exactly we got there.

The function given is q(p(x))

Using for p:x=8/2x

q:x=3x.

So the solution given is 3(8/2x) = 24/2x =12/xWhen we multiply 8/2x by the function of q which is 3x, why do we only mulitply the top line and not the bottom? I tried to do it 3(8/2x) = 24/6x = 12/3x =

Question

4/xwhich is obviously incorrect.

Thanks