Yes, our guest is correct. :)
(I though Hectictar was answering ://)
Anyway...
I always struggle with these myself. I just spent quite a bit of time working it out.
2, 4 and 5 start with a positive or 0 gradient so 3 cannot be a derivative of any of them.
so
g must be 4.4.3 (which I will call 3)
Now 3 has a zero, or close to zero gradient at x=0, and x=2.8 (they are turning points)
This is where its derivative must cross the x axis and it cannot cross any other place.
Only 5 does this.
g' is graph 5
5 has a zero gradient at about x=0,x=1.8 and maybe x=3.8.
So its derivative must be 2
g'' is graph 2
2 has a zero gradient at about x=0, x=1.2 and x=2.7
So its derivative must be 4
g''' is graph 4
It is easier to see what is happening if you line the graphs up one directly below the other.
There are other features you can use to but loking at whether the gradient is positive or negative or 0 is the main one. Looking at changes in concavity can also be used.