An accessory building used as a private garage shall be permitted to be located in the rear yard or side yard, provided that setbacks are maintained and the structures do not encroach into any recorded easements. The building shall be permitted to be located in the front yard of a sloping lot if the lot has more than a ten-foot difference in elevation from the midpoint of the front lot line to a point 50 feet away midway between the side lot lines.