Mentors for Companies, Students and Family
A tank has two outlets A and B, which together take 6 hours to empty a…