Composing functions just means to feed the ouput of the inner one as the input for the outer one.
So, the following writings are equivalent:

Using the second form, we can see that the first thing to do is to compute
, which is given:

This means that we can update the fomula:

So, now we have to compute
. Given
, we know that
doubles the input and adds one. In this case, the input is
, so we have to double this and add one:

So, we have

Similarly, from
, we understand that
just adds 3 to the input. In this case, the input is
, so we'll add 3 to this quantity:

So, we finally have
