Here is how we did the last one.

Bed assembly