In all residential districts, the maximum height of a building at all required side and rear yard setback lines shall not exceed 22 feet above grade as defined herein. Thereafter, the height of such buildings may be increased by two feet for each one foot of additional setback from the side or rear lot line. However, in no event shall the height of the building or structure exceed the maximum height permitted, as specified in Table 2.