If you want 25mm each on the outside, you want each piece 50mm longer than the outside length of the side. If you want 25mm on the inside, your material needs to be 50mm wider plus the thickness of the thing it’s covering.
I usually charge for such calculations, but that one’s on the house ;).