An exactly solvable model ternary solution with three-body interactions