How to make a children’s mass-machine bed

Almost everyone can become a furniture master and make a children’s car’s bed with their own hands. Its scheme is shown in the figure.