Analysis of three species models of mutualism in predator-prey and competitive systems