What is the best way to layer soil and compost, in a raised bed?

im planting tomatoes and some other vegetables, and they didn't do great last year.
  3 answers