The well-known "do dogs know calculus" problem optimizes the travel time from an onshore dog to an offshore stick, given different running and swimming speeds and a straight coastline. Here, we optimize the travel time between two points on the boundary of a rectangular swimming pool, assuming that running speed along the edge differs from the swimming speed.