Closed form solutions to generalized logistic-type nonautonomous systems