Private Garages and Other Outbuildings Other Than a Shed. No garage or other outbuilding shall be placed nearer to a rear property line than five feet, and for each foot the rear wall of such building exceeds 10 feet, the offset from the rear property line shall be increased by one foot. As to side yards, the applicable yard requirements set forth in the district schedule shall prevail. No detached garage or other outbuilding shall be placed nearer to a side street line than a distance equal to half the width of the lot. However, nothing herein shall prevent building a common or joint garage upon lots adjoining at the side, nor prevent the construction of a garage as a structural part of a dwelling provided that the outer walls of the garage are taken as the main walls of the building when measuring the front, side and rear yards required under the district schedule.