What are setbacks for pools?

In residence A the backyard setbacks for pools is 25 feet from the nearest property lines. In Residence B every swimming pool shall be set back at least 20 feet from the side lot line and at least 10 feet from any rear lot line and shall be situated as close to the center of the rear yard of said property as possible.