A lot depends on the size and kind of kitchen entrance you have. You’ll have to take your measurements and tailor your gate to the values you get.
Step 1. Dismantle ’em
You should get your single pallet into 12 pieces (or as many as you would need).
Step 2. Put them together again
Arrange your parts in the following order, in this case nine going vertical, 2 across and one diagonal. You should of course add some finishing to your work to make it blend in better.
Here we go a simple protection gate for the kids and the dogs (notice there’s no mention of cats here).