Proof of the equivalence of two Prolog rules with the same left side to one rule with a disjunction

Write the rules in predicate calculus to get:

Try to guess the next step in creating a single Prolog rule with the equivalent meaning, then click here.