An easy way to make a bedside table

Recently, we bought a bed for the bedroom and unfortunately it was sent in two packs. One of the parcels was lost in transport. After all the adventures with the sender, we recovered the money, but we also had parts from one package: wooden sheds on which the mattress...