$6.5M Park Slope townhouse has two kitchens, two outdoor spaces, and a full-floor gym