Extend post in rail fence. Add a 4th rail in and shift middle rail up so it becomes 4 rails (dog proof) remove short fence and gate and reuse.
Partner with Builderscrack