Hello and welcome, I assume that you have made a typo, At 7"x 6", or are these gates for the kids model farmyard!
That would be the easiest way out to rebate both meeting stiles by 50mm, + 3mm clearance, each.
Or take 26mm off each end of both gates.
I hope you have a router!
Regards Rodders