If the length of a rectangular garden is 45 meter and wide is 30 meter.And their is a walkway inside of the garden.

Q-what is the length of the garden excluding road?

"there" not "their"

if the road (or walkway) has width w, then the length is 45-2w