foamie with bunks

I am looking at building a 5'6" tall 10' long foamie and I was wondering how much support I would need in the foam for bunk beds. I was thinking some sort of lock together steel legs for the side not against the wall but wanted to find out how much wood would need to be in the wall to support the load. Also, does anyone have any drawings of a foamie with a queen bed and two bunks for the kids?
Thanks for your help!

Thanks for your help!
