How to re-attach this piece?

Well, luckily I was able to zap a few good tacks to this little piece. It's really solid now. Thanks for the help guys. The pictures helped a lot.