It took me little while to figure out where the gun went aswell.
If you look at the picture, In his back there is a tab and on his gun there is a hole that corresponds to it.
This works in both modes, I just couldn't be bothered to transform him(Such a pain to line up the panels
).