Solved B Implement A Three Argument Prolog Predicate

Solved B Implement A Three Argument Prolog Predicate