Private garage and accessory building regulation. No garage or accessory building shall be placed nearer to a side or rear property line than eight feet, and, for each foot the height of such building exceeds 15 feet, the offset from the side and rear property lines shall be increased by one foot. No detached garage or other outbuilding shall be constructed nearer the front property line than the front of the main building as located on the lot or, in the case of a corner lot, nearer to the side street line than a distance equal to half the width of the lot.