Rear yard:
There shall be a rear yard not less than three (3) feet from any lot line, alley lines or easement line, except that if no alley exists the rear yard shall not be less than ten (10) feet as measured from the rear lot line. Carports, garages, or other detached accessory buildings located within the rear portion of the lots as heretofore described shall not be located closer than fifteen (15) feet to the main building nor nearer than three (3) feet to any side lot line.