I sorted out all my pallet wood and selected 6 pieces that were similar in appearance (color/type), width (2.5") and thickness (1/2").

Then using a saw I cut the excess, to make each piece 30" long.

Then I cut the 6 pieces in half.

I sorted the best 6 pieces for the top part of the shelf and the remainder for the bottom shelf.