a garden 40 by 50 meters wide is to be surrounded by a 5 meter wide fence how is it that the side are now 50 by 60?

you add 5m to each side, so the total width/length increase by 10m